cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-gemini/idle.c

/*
 * arch/arm/mach-gemini/idle.c
 */

#include <linux/init.h>
#include <asm/system_misc.h>
#include <asm/proc-fns.h>


static void gemini_idle(void) { /* * Because of broken hardware we have to enable interrupts or the CPU * will never wakeup... Acctualy it is not very good to enable * interrupts first since scheduler can miss a tick, but there is * no other way around this. Platforms that needs it for power saving * should enable it in init code, since by default it is * disabled. */ /* FIXME: Enabling interrupts here is racy! */ local_irq_enable(); cpu_do_idle(); }

Contributors

PersonTokensPropCommitsCommitProp
Nico Pitre1487.50%150.00%
Thomas Gleixner212.50%150.00%
Total16100.00%2100.00%


static int __init gemini_idle_init(void) { arm_pm_idle = gemini_idle; return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Nico Pitre16100.00%1100.00%
Total16100.00%1100.00%

arch_initcall(gemini_idle_init);

Overall Contributors

PersonTokensPropCommitsCommitProp
Nico Pitre4493.62%133.33%
Thomas Gleixner24.26%133.33%
David Howells12.13%133.33%
Total47100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.