diff options
-rw-r--r-- | arch/ia64/sn/kernel/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index f0306b516afb..d35f2a6f9c94 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
30 | #include <linux/root_dev.h> | 30 | #include <linux/root_dev.h> |
31 | #include <linux/nodemask.h> | 31 | #include <linux/nodemask.h> |
32 | #include <linux/pm.h> | ||
32 | 33 | ||
33 | #include <asm/io.h> | 34 | #include <asm/io.h> |
34 | #include <asm/sal.h> | 35 | #include <asm/sal.h> |
@@ -353,6 +354,14 @@ void __init sn_setup(char **cmdline_p) | |||
353 | screen_info = sn_screen_info; | 354 | screen_info = sn_screen_info; |
354 | 355 | ||
355 | sn_timer_init(); | 356 | sn_timer_init(); |
357 | |||
358 | /* | ||
359 | * set pm_power_off to a SAL call to allow | ||
360 | * sn machines to power off. The SAL call can be replaced | ||
361 | * by an ACPI interface call when ACPI is fully implemented | ||
362 | * for sn. | ||
363 | */ | ||
364 | pm_power_off = ia64_sn_power_down; | ||
356 | } | 365 | } |
357 | 366 | ||
358 | /** | 367 | /** |