Commit 6c4fa560 authored by Venkatesh Pallipadi's avatar Venkatesh Pallipadi Committed by Len Brown
parent ef7b06cd
...@@ -195,6 +195,7 @@ update_pal_halt_status(int status) ...@@ -195,6 +195,7 @@ update_pal_halt_status(int status)
void void
default_idle (void) default_idle (void)
{ {
local_irq_enable();
while (!need_resched()) while (!need_resched())
if (can_do_pal_halt) if (can_do_pal_halt)
safe_halt(); safe_halt();
......
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
#include <linux/serial_core.h> #include <linux/serial_core.h>
#include <linux/efi.h> #include <linux/efi.h>
#include <linux/initrd.h> #include <linux/initrd.h>
#include <linux/platform.h>
#include <linux/pm.h>
#include <asm/ia32.h> #include <asm/ia32.h>
#include <asm/machvec.h> #include <asm/machvec.h>
...@@ -779,6 +781,7 @@ cpu_init (void) ...@@ -779,6 +781,7 @@ cpu_init (void)
/* size of physical stacked register partition plus 8 bytes: */ /* size of physical stacked register partition plus 8 bytes: */
__get_cpu_var(ia64_phys_stacked_size_p8) = num_phys_stacked*8 + 8; __get_cpu_var(ia64_phys_stacked_size_p8) = num_phys_stacked*8 + 8;
platform_cpu_init(); platform_cpu_init();
pm_idle = default_idle;
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment