diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-19 08:36:27 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-27 11:12:52 -0400 |
commit | 816c25e7d4fb6fd40022a376e8b7f45b1edf5a89 (patch) | |
tree | 75d9b4f37396b52ee306c3acd0dc32b0881365e0 /arch/x86/kernel/head64.c | |
parent | 8fee697d990c54976c8dc167270633299e2515d2 (diff) |
x86: Add reserve_ebda_region to x86_init_ops
reserve_ebda_region needs to be called befor start_kernel. Moorestown
needs to override it. Make it a x86_init_ops function and initialize
it with the default reserve_ebda_region.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/head64.c')
-rw-r--r-- | arch/x86/kernel/head64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 70eaa852c732..cead8149c3de 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <asm/sections.h> | 23 | #include <asm/sections.h> |
24 | #include <asm/kdebug.h> | 24 | #include <asm/kdebug.h> |
25 | #include <asm/e820.h> | 25 | #include <asm/e820.h> |
26 | #include <asm/bios_ebda.h> | ||
27 | #include <asm/trampoline.h> | 26 | #include <asm/trampoline.h> |
28 | 27 | ||
29 | static void __init zap_identity_mappings(void) | 28 | static void __init zap_identity_mappings(void) |
@@ -112,7 +111,7 @@ void __init x86_64_start_reservations(char *real_mode_data) | |||
112 | } | 111 | } |
113 | #endif | 112 | #endif |
114 | 113 | ||
115 | reserve_ebda_region(); | 114 | x86_init.resources.reserve_ebda_region(); |
116 | 115 | ||
117 | /* | 116 | /* |
118 | * At this point everything still needed from the boot loader | 117 | * At this point everything still needed from the boot loader |