mirror of https://gitee.com/openkylin/linux.git
microblaze idle: delete pm_idle
pm_idle on microblaze served no purpose. Signed-off-by: Len Brown <len.brown@intel.com> Cc: microblaze-uclinux@itee.uq.edu.au
This commit is contained in:
parent
1d8225661e
commit
def82035a8
arch/microblaze/kernel
|
@ -41,7 +41,6 @@ void show_regs(struct pt_regs *regs)
|
|||
regs->msr, regs->ear, regs->esr, regs->fsr);
|
||||
}
|
||||
|
||||
void (*pm_idle)(void);
|
||||
void (*pm_power_off)(void) = NULL;
|
||||
EXPORT_SYMBOL(pm_power_off);
|
||||
|
||||
|
@ -98,8 +97,6 @@ void cpu_idle(void)
|
|||
|
||||
/* endless idle loop with no priority at all */
|
||||
while (1) {
|
||||
void (*idle)(void) = pm_idle;
|
||||
|
||||
if (!idle)
|
||||
idle = default_idle;
|
||||
|
||||
|
|
Loading…
Reference in New Issue