[PATCH] i386 visws: Add machine_shutdown and emergency_restart

Another x86 subarchitecture bit I missed. This adds both
machine_emergency_restart missed in my reboot fixes and
machine_shutdown needed for kexec support.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Eric W. Biederman and committed by Linus Torvalds 36cf446c 094528a7

+10 -1
+10 -1
arch/i386/mach-visws/reboot.c
··· 9 void (*pm_power_off)(void); 10 EXPORT_SYMBOL(pm_power_off); 11 12 - void machine_restart(char * __unused) 13 { 14 #ifdef CONFIG_SMP 15 smp_send_stop(); 16 #endif 17 18 /* 19 * Visual Workstations restart after this 20 * register is poked on the PIIX4 21 */ 22 outb(PIIX4_RESET_VAL, PIIX4_RESET_PORT); 23 } 24 25 void machine_power_off(void)
··· 9 void (*pm_power_off)(void); 10 EXPORT_SYMBOL(pm_power_off); 11 12 + void machine_shutdown(void) 13 { 14 #ifdef CONFIG_SMP 15 smp_send_stop(); 16 #endif 17 + } 18 19 + void machine_emergency_restart(void) 20 + { 21 /* 22 * Visual Workstations restart after this 23 * register is poked on the PIIX4 24 */ 25 outb(PIIX4_RESET_VAL, PIIX4_RESET_PORT); 26 + } 27 + 28 + void machine_restart(char * __unused) 29 + { 30 + machine_shutdown(); 31 + machine_emergency_restart(); 32 } 33 34 void machine_power_off(void)