Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5689
b: refs/heads/master
c: 36cf446
h: refs/heads/master
i:
  5687: eef9c80
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Aug 6, 2005
1 parent 8d8926a commit fb7017a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 094528a7fb3f75a83673e5cc3271fd466f2e278d
refs/heads/master: 36cf446c2c4be6bae01517ea539dcebaf85c9fdf
11 changes: 10 additions & 1 deletion trunk/arch/i386/mach-visws/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,28 @@
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
*/
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;
Expand Down

0 comments on commit fb7017a

Please sign in to comment.