Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53751
b: refs/heads/master
c: 973efae
h: refs/heads/master
i:
  53749: d5df983
  53747: d6d44b0
  53743: ff6d070
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Andi Kleen committed May 2, 2007
1 parent 670bb6d commit 7c7cb9d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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: 6d1c426158131b11d05d66e7dd6bf91e5b1b4fc7
refs/heads/master: 973efae21beb2feda138f152ed06d4204774d93c
6 changes: 5 additions & 1 deletion trunk/arch/i386/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <asm/apic.h>
#include <asm/desc.h>
#include "mach_reboot.h"
#include <linux/reboot_fixups.h>
#include <asm/reboot_fixups.h>

/*
* Power off function, if any
Expand Down Expand Up @@ -316,6 +316,10 @@ void machine_shutdown(void)
#endif
}

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

void machine_emergency_restart(void)
{
if (!reboot_thru_bios) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/reboot_fixups.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <asm/delay.h>
#include <linux/pci.h>
#include <linux/reboot_fixups.h>
#include <asm/reboot_fixups.h>

static void cs5530a_warm_reset(struct pci_dev *dev)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#ifndef _LINUX_REBOOT_FIXUPS_H
#define _LINUX_REBOOT_FIXUPS_H

#ifdef CONFIG_X86_REBOOTFIXUPS
extern void mach_reboot_fixups(void);
#else
#define mach_reboot_fixups() ((void)(0))
#endif

#endif /* _LINUX_REBOOT_FIXUPS_H */

0 comments on commit 7c7cb9d

Please sign in to comment.