aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/reboot.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-02 13:27:06 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:06 -0400
commit973efae21beb2feda138f152ed06d4204774d93c (patch)
tree72aea5fab6d059b35a79198bf09cc9163338b5c2 /arch/i386/kernel/reboot.c
parent6d1c426158131b11d05d66e7dd6bf91e5b1b4fc7 (diff)
[PATCH] i386: clean up mach_reboot_fixups
The reboot_fixups stuff seems to be a bit of a mess, specifically the header is in linux/ when its a purely i386-specific piece of code. I'm not sure why it has its config option; its only currently needed for "geode-gx1/cs5530a", so perhaps whatever config option controls that hardware should enable this? Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/reboot.c')
-rw-r--r--arch/i386/kernel/reboot.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index 3514b4153f7f..8b5ff6e15412 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -17,7 +17,7 @@
17#include <asm/apic.h> 17#include <asm/apic.h>
18#include <asm/desc.h> 18#include <asm/desc.h>
19#include "mach_reboot.h" 19#include "mach_reboot.h"
20#include <linux/reboot_fixups.h> 20#include <asm/reboot_fixups.h>
21 21
22/* 22/*
23 * Power off function, if any 23 * Power off function, if any
@@ -316,6 +316,10 @@ void machine_shutdown(void)
316#endif 316#endif
317} 317}
318 318
319void __attribute__((weak)) mach_reboot_fixups(void)
320{
321}
322
319void machine_emergency_restart(void) 323void machine_emergency_restart(void)
320{ 324{
321 if (!reboot_thru_bios) { 325 if (!reboot_thru_bios) {