forked from Minki/linux
blackfin idle: delete pm_idle
pm_idle is dead code on blackfin. Signed-off-by: Len Brown <len.brown@intel.com> Cc: uclinux-dist-devel@blackfin.uclinux.org
This commit is contained in:
parent
d472ba840d
commit
26bab0c976
@ -39,12 +39,6 @@ int nr_l1stack_tasks;
|
|||||||
void *l1_stack_base;
|
void *l1_stack_base;
|
||||||
unsigned long l1_stack_len;
|
unsigned long l1_stack_len;
|
||||||
|
|
||||||
/*
|
|
||||||
* Powermanagement idle function, if any..
|
|
||||||
*/
|
|
||||||
void (*pm_idle)(void) = NULL;
|
|
||||||
EXPORT_SYMBOL(pm_idle);
|
|
||||||
|
|
||||||
void (*pm_power_off)(void) = NULL;
|
void (*pm_power_off)(void) = NULL;
|
||||||
EXPORT_SYMBOL(pm_power_off);
|
EXPORT_SYMBOL(pm_power_off);
|
||||||
|
|
||||||
@ -81,7 +75,6 @@ void cpu_idle(void)
|
|||||||
{
|
{
|
||||||
/* endless idle loop with no priority at all */
|
/* endless idle loop with no priority at all */
|
||||||
while (1) {
|
while (1) {
|
||||||
void (*idle)(void) = pm_idle;
|
|
||||||
|
|
||||||
#ifdef CONFIG_HOTPLUG_CPU
|
#ifdef CONFIG_HOTPLUG_CPU
|
||||||
if (cpu_is_offline(smp_processor_id()))
|
if (cpu_is_offline(smp_processor_id()))
|
||||||
|
Loading…
Reference in New Issue
Block a user