diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-19 08:55:50 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-27 11:12:52 -0400 |
commit | 8fee697d990c54976c8dc167270633299e2515d2 (patch) | |
tree | 2236f4907bf6586892df8412224c415581311948 /arch/x86/kernel/x86_init.c | |
parent | f7cf5a5b8c0e59eac8d30b62271cb0fa52e53ebc (diff) |
x86: Add request_standard_resources to x86_init
The 32bit and the 64bit code are slighty different in the reservation
of standard resources. Also the upcoming Moorestown support needs its
own version of that.
Add it to x86_init_ops and initialize it with the 64bit default. 32bit
overrides it in early boot. Now moorestown can add it's own override
w/o sprinkling the code with more #ifdefs
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 88883f8006c2..68c093b67ecf 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | #include <linux/init.h> | 6 | #include <linux/init.h> |
7 | 7 | ||
8 | #include <asm/x86_init.h> | 8 | #include <asm/setup.h> |
9 | 9 | ||
10 | void __cpuinit x86_init_noop(void) { } | 10 | void __cpuinit x86_init_noop(void) { } |
11 | 11 | ||
@@ -17,5 +17,6 @@ struct __initdata x86_init_ops x86_init = { | |||
17 | 17 | ||
18 | .resources = { | 18 | .resources = { |
19 | .probe_roms = x86_init_noop, | 19 | .probe_roms = x86_init_noop, |
20 | .reserve_resources = reserve_standard_io_resources, | ||
20 | }, | 21 | }, |
21 | }; | 22 | }; |