aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/process_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-04 16:26:31 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-04 16:26:31 -0500
commit757498c63ed70ec8961aa432173247f4373ef0c3 (patch)
tree7cb78ee704b26219bdb594ad0d15803a5b15e3a3 /arch/sparc/kernel/process_32.c
parentc2e27c359ab76fecbbd292dbfc0bcfa8399afdd9 (diff)
sparc: drop CONFIG_SUN_AUXIO
It is always equals y so no need to test for it Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/process_32.c')
-rw-r--r--arch/sparc/kernel/process_32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c
index e8c43ffe317e..69d9315f4a93 100644
--- a/arch/sparc/kernel/process_32.c
+++ b/arch/sparc/kernel/process_32.c
@@ -168,11 +168,9 @@ void machine_restart(char * cmd)
168 168
169void machine_power_off(void) 169void machine_power_off(void)
170{ 170{
171#ifdef CONFIG_SUN_AUXIO
172 if (auxio_power_register && 171 if (auxio_power_register &&
173 (strcmp(of_console_device->type, "serial") || scons_pwroff)) 172 (strcmp(of_console_device->type, "serial") || scons_pwroff))
174 *auxio_power_register |= AUXIO_POWER_OFF; 173 *auxio_power_register |= AUXIO_POWER_OFF;
175#endif
176 machine_halt(); 174 machine_halt();
177} 175}
178 176