diff options
Diffstat (limited to 'arch/sparc64/kernel/process.c')
-rw-r--r-- | arch/sparc64/kernel/process.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c index 1b2379174988..6eceac51ae62 100644 --- a/arch/sparc64/kernel/process.c +++ b/arch/sparc64/kernel/process.c | |||
@@ -113,16 +113,9 @@ void cpu_idle(void) | |||
113 | 113 | ||
114 | extern char reboot_command []; | 114 | extern char reboot_command []; |
115 | 115 | ||
116 | extern void (*prom_palette)(int); | ||
117 | extern void (*prom_keyboard)(void); | ||
118 | |||
119 | void machine_halt(void) | 116 | void machine_halt(void) |
120 | { | 117 | { |
121 | sstate_halt(); | 118 | sstate_halt(); |
122 | if (prom_palette) | ||
123 | prom_palette (1); | ||
124 | if (prom_keyboard) | ||
125 | prom_keyboard(); | ||
126 | prom_halt(); | 119 | prom_halt(); |
127 | panic("Halt failed!"); | 120 | panic("Halt failed!"); |
128 | } | 121 | } |
@@ -130,10 +123,6 @@ void machine_halt(void) | |||
130 | void machine_alt_power_off(void) | 123 | void machine_alt_power_off(void) |
131 | { | 124 | { |
132 | sstate_poweroff(); | 125 | sstate_poweroff(); |
133 | if (prom_palette) | ||
134 | prom_palette(1); | ||
135 | if (prom_keyboard) | ||
136 | prom_keyboard(); | ||
137 | prom_halt_power_off(); | 126 | prom_halt_power_off(); |
138 | panic("Power-off failed!"); | 127 | panic("Power-off failed!"); |
139 | } | 128 | } |
@@ -145,10 +134,6 @@ void machine_restart(char * cmd) | |||
145 | sstate_reboot(); | 134 | sstate_reboot(); |
146 | p = strchr (reboot_command, '\n'); | 135 | p = strchr (reboot_command, '\n'); |
147 | if (p) *p = 0; | 136 | if (p) *p = 0; |
148 | if (prom_palette) | ||
149 | prom_palette (1); | ||
150 | if (prom_keyboard) | ||
151 | prom_keyboard(); | ||
152 | if (cmd) | 137 | if (cmd) |
153 | prom_reboot(cmd); | 138 | prom_reboot(cmd); |
154 | if (*reboot_command) | 139 | if (*reboot_command) |