summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/process.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-18 15:21:30 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-18 15:21:30 -0800
commit101788b0ab5464cf485c5d434ac30563e6f9e5fe (patch)
treef89b320d6c53decc6608992be0470a80c92fe6b0 /arch/sparc64/kernel/process.c
parent1d5509aa6985b256a426e67ae6952fd4b7664de7 (diff)
downloadtalos-op-linux-101788b0ab5464cf485c5d434ac30563e6f9e5fe.tar.gz
talos-op-linux-101788b0ab5464cf485c5d434ac30563e6f9e5fe.zip
[SPARC64]: Kill 'prom_keyboard'.
Nothing ever sets it, so it just takes up space. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/process.c')
-rw-r--r--arch/sparc64/kernel/process.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c
index 1b2379174988..d7e8e80d43a5 100644
--- a/arch/sparc64/kernel/process.c
+++ b/arch/sparc64/kernel/process.c
@@ -114,15 +114,12 @@ void cpu_idle(void)
extern char reboot_command [];
extern void (*prom_palette)(int);
-extern void (*prom_keyboard)(void);
void machine_halt(void)
{
sstate_halt();
if (prom_palette)
prom_palette (1);
- if (prom_keyboard)
- prom_keyboard();
prom_halt();
panic("Halt failed!");
}
@@ -132,8 +129,6 @@ void machine_alt_power_off(void)
sstate_poweroff();
if (prom_palette)
prom_palette(1);
- if (prom_keyboard)
- prom_keyboard();
prom_halt_power_off();
panic("Power-off failed!");
}
@@ -147,8 +142,6 @@ void machine_restart(char * cmd)
if (p) *p = 0;
if (prom_palette)
prom_palette (1);
- if (prom_keyboard)
- prom_keyboard();
if (cmd)
prom_reboot(cmd);
if (*reboot_command)
OpenPOWER on IntegriCloud