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/head32.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/head32.c')
-rw-r--r-- | arch/x86/kernel/head32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c index d91c37c02069..921a23b6c145 100644 --- a/arch/x86/kernel/head32.c +++ b/arch/x86/kernel/head32.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <asm/setup.h> | 11 | #include <asm/setup.h> |
12 | #include <asm/sections.h> | 12 | #include <asm/sections.h> |
13 | #include <asm/e820.h> | 13 | #include <asm/e820.h> |
14 | #include <asm/bios_ebda.h> | 14 | #include <asm/page.h> |
15 | #include <asm/trampoline.h> | 15 | #include <asm/trampoline.h> |
16 | 16 | ||
17 | void __init i386_start_kernel(void) | 17 | void __init i386_start_kernel(void) |
@@ -33,7 +33,7 @@ void __init i386_start_kernel(void) | |||
33 | x86_init.resources.probe_roms = probe_roms; | 33 | x86_init.resources.probe_roms = probe_roms; |
34 | x86_init.resources.reserve_resources = i386_reserve_resources; | 34 | x86_init.resources.reserve_resources = i386_reserve_resources; |
35 | 35 | ||
36 | reserve_ebda_region(); | 36 | x86_init.resources.reserve_ebda_region(); |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * At this point everything still needed from the boot loader | 39 | * At this point everything still needed from the boot loader |