Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87027
b: refs/heads/master
c: 7432d14
h: refs/heads/master
i:
  87025: a13f759
  87023: c47fe67
v: v3
  • Loading branch information
Ingo Molnar committed Mar 7, 2008
1 parent 875563f commit 446251f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d032b31a3a22a571cb50c0b5dffbe9ba9328d6e2
refs/heads/master: 7432d149fda8ce9ead9df91e577b83ce52ad5f65
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ static inline void kb_wait(void)
}
}

void __attribute__((weak)) mach_reboot_fixups(void)
{
}

static void native_machine_emergency_restart(void)
{
int i;
Expand All @@ -337,6 +341,8 @@ static void native_machine_emergency_restart(void)
/* Could also try the reset bit in the Hammer NB */
switch (reboot_type) {
case BOOT_KBD:
mach_reboot_fixups(); /* for board specific fixups */

for (i = 0; i < 10; i++) {
kb_wait();
udelay(50);
Expand Down

0 comments on commit 446251f

Please sign in to comment.