diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/setup.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index ebb71f3d6d19..a9bfba46733d 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c | |||
@@ -195,6 +195,7 @@ update_pal_halt_status(int status) | |||
195 | void | 195 | void |
196 | default_idle (void) | 196 | default_idle (void) |
197 | { | 197 | { |
198 | local_irq_enable(); | ||
198 | while (!need_resched()) | 199 | while (!need_resched()) |
199 | if (can_do_pal_halt) | 200 | if (can_do_pal_halt) |
200 | safe_halt(); | 201 | safe_halt(); |
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index d14692e0920a..bb9033187d42 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -40,6 +40,8 @@ | |||
40 | #include <linux/serial_core.h> | 40 | #include <linux/serial_core.h> |
41 | #include <linux/efi.h> | 41 | #include <linux/efi.h> |
42 | #include <linux/initrd.h> | 42 | #include <linux/initrd.h> |
43 | #include <linux/platform.h> | ||
44 | #include <linux/pm.h> | ||
43 | 45 | ||
44 | #include <asm/ia32.h> | 46 | #include <asm/ia32.h> |
45 | #include <asm/machvec.h> | 47 | #include <asm/machvec.h> |
@@ -779,6 +781,7 @@ cpu_init (void) | |||
779 | /* size of physical stacked register partition plus 8 bytes: */ | 781 | /* size of physical stacked register partition plus 8 bytes: */ |
780 | __get_cpu_var(ia64_phys_stacked_size_p8) = num_phys_stacked*8 + 8; | 782 | __get_cpu_var(ia64_phys_stacked_size_p8) = num_phys_stacked*8 + 8; |
781 | platform_cpu_init(); | 783 | platform_cpu_init(); |
784 | pm_idle = default_idle; | ||
782 | } | 785 | } |
783 | 786 | ||
784 | void | 787 | void |