Loading arch/cris/kernel/process.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -54,11 +54,6 @@ void enable_hlt(void) EXPORT_SYMBOL(enable_hlt); EXPORT_SYMBOL(enable_hlt); /* * The following aren't currently used. */ void (*pm_idle)(void); extern void default_idle(void); extern void default_idle(void); void (*pm_power_off)(void); void (*pm_power_off)(void); Loading @@ -77,16 +72,12 @@ void cpu_idle (void) while (1) { while (1) { rcu_idle_enter(); rcu_idle_enter(); while (!need_resched()) { while (!need_resched()) { void (*idle)(void); /* /* * Mark this as an RCU critical section so that * Mark this as an RCU critical section so that * synchronize_kernel() in the unload path waits * synchronize_kernel() in the unload path waits * for our completion. * for our completion. */ */ idle = pm_idle; default_idle(); if (!idle) idle = default_idle; idle(); } } rcu_idle_exit(); rcu_idle_exit(); schedule_preempt_disabled(); schedule_preempt_disabled(); Loading Loading
arch/cris/kernel/process.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -54,11 +54,6 @@ void enable_hlt(void) EXPORT_SYMBOL(enable_hlt); EXPORT_SYMBOL(enable_hlt); /* * The following aren't currently used. */ void (*pm_idle)(void); extern void default_idle(void); extern void default_idle(void); void (*pm_power_off)(void); void (*pm_power_off)(void); Loading @@ -77,16 +72,12 @@ void cpu_idle (void) while (1) { while (1) { rcu_idle_enter(); rcu_idle_enter(); while (!need_resched()) { while (!need_resched()) { void (*idle)(void); /* /* * Mark this as an RCU critical section so that * Mark this as an RCU critical section so that * synchronize_kernel() in the unload path waits * synchronize_kernel() in the unload path waits * for our completion. * for our completion. */ */ idle = pm_idle; default_idle(); if (!idle) idle = default_idle; idle(); } } rcu_idle_exit(); rcu_idle_exit(); schedule_preempt_disabled(); schedule_preempt_disabled(); Loading