diff options
Diffstat (limited to 'arch/sparc64/kernel/reboot.c')
-rw-r--r-- | arch/sparc64/kernel/reboot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/reboot.c b/arch/sparc64/kernel/reboot.c index 04dd34cbb872..11f249660630 100644 --- a/arch/sparc64/kernel/reboot.c +++ b/arch/sparc64/kernel/reboot.c | |||
@@ -7,7 +7,6 @@ | |||
7 | #include <linux/module.h> | 7 | #include <linux/module.h> |
8 | #include <linux/pm.h> | 8 | #include <linux/pm.h> |
9 | 9 | ||
10 | #include <asm/sstate.h> | ||
11 | #include <asm/oplib.h> | 10 | #include <asm/oplib.h> |
12 | #include <asm/prom.h> | 11 | #include <asm/prom.h> |
13 | 12 | ||
@@ -24,7 +23,6 @@ EXPORT_SYMBOL(pm_power_off); | |||
24 | 23 | ||
25 | void machine_power_off(void) | 24 | void machine_power_off(void) |
26 | { | 25 | { |
27 | sstate_poweroff(); | ||
28 | if (strcmp(of_console_device->type, "serial") || scons_pwroff) | 26 | if (strcmp(of_console_device->type, "serial") || scons_pwroff) |
29 | prom_halt_power_off(); | 27 | prom_halt_power_off(); |
30 | 28 | ||
@@ -33,7 +31,6 @@ void machine_power_off(void) | |||
33 | 31 | ||
34 | void machine_halt(void) | 32 | void machine_halt(void) |
35 | { | 33 | { |
36 | sstate_halt(); | ||
37 | prom_halt(); | 34 | prom_halt(); |
38 | panic("Halt failed!"); | 35 | panic("Halt failed!"); |
39 | } | 36 | } |
@@ -42,7 +39,6 @@ void machine_restart(char *cmd) | |||
42 | { | 39 | { |
43 | char *p; | 40 | char *p; |
44 | 41 | ||
45 | sstate_reboot(); | ||
46 | p = strchr(reboot_command, '\n'); | 42 | p = strchr(reboot_command, '\n'); |
47 | if (p) | 43 | if (p) |
48 | *p = 0; | 44 | *p = 0; |