diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-08-06 21:45:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 21:54:57 +0200 |
commit | 36cf446c2c4be6bae01517ea539dcebaf85c9fdf (patch) | |
tree | fa988e457ce99f4eb9a85da9daf84951b5fcfe15 /arch/i386/mach-visws | |
parent | [PATCH] i386 voyager: Add machine_shutdown (diff) | |
download | linux-36cf446c2c4be6bae01517ea539dcebaf85c9fdf.tar.xz linux-36cf446c2c4be6bae01517ea539dcebaf85c9fdf.zip |
[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>
Diffstat (limited to 'arch/i386/mach-visws')
-rw-r--r-- | arch/i386/mach-visws/reboot.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/i386/mach-visws/reboot.c b/arch/i386/mach-visws/reboot.c index 9e9296676f93..5d73e042ed0a 100644 --- a/arch/i386/mach-visws/reboot.c +++ b/arch/i386/mach-visws/reboot.c @@ -9,12 +9,15 @@ void (*pm_power_off)(void); EXPORT_SYMBOL(pm_power_off); -void machine_restart(char * __unused) +void machine_shutdown(void) { #ifdef CONFIG_SMP smp_send_stop(); #endif +} +void machine_emergency_restart(void) +{ /* * Visual Workstations restart after this * register is poked on the PIIX4 @@ -22,6 +25,12 @@ void machine_restart(char * __unused) outb(PIIX4_RESET_VAL, PIIX4_RESET_PORT); } +void machine_restart(char * __unused) +{ + machine_shutdown(); + machine_emergency_restart(); +} + void machine_power_off(void) { unsigned short pm_status; |