diff options
Diffstat (limited to 'drivers/acpi/processor_idle.c')
| -rw-r--r-- | drivers/acpi/processor_idle.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index d93e400940a3..4e2d76b8b697 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -29,6 +29,7 @@   */  #ifdef CONFIG_X86  #include <asm/apic.h> +#include <asm/cpu.h>  #endif  #define _COMPONENT              ACPI_PROCESSOR_COMPONENT @@ -541,6 +542,10 @@ static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)  			wait_for_freeze();  		} else  			return -ENODEV; + +#if defined(CONFIG_X86) && defined(CONFIG_HOTPLUG_CPU) +		cond_wakeup_cpu0(); +#endif  	}  	/* Never reached */ |