aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/visws_quirks.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-20 04:19:54 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-27 11:12:52 -0400
commit6b18ae3e2ff62daa9f181401759161dd8de0aadf (patch)
tree3e1c61c26c29a1a81d5f54917a92c37334d3c607 /arch/x86/kernel/visws_quirks.c
parent816c25e7d4fb6fd40022a376e8b7f45b1edf5a89 (diff)
x86: Move memory_setup to x86_init_ops
memory_setup is overridden by x86_quirks and by paravirts with weak functions and quirks. Unify the whole mess and make it an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/visws_quirks.c')
-rw-r--r--arch/x86/kernel/visws_quirks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/visws_quirks.c b/arch/x86/kernel/visws_quirks.c
index 31ffc24eec4d..97c670df1aed 100644
--- a/arch/x86/kernel/visws_quirks.c
+++ b/arch/x86/kernel/visws_quirks.c
@@ -239,7 +239,6 @@ static int visws_trap_init(void);
239static struct x86_quirks visws_x86_quirks __initdata = { 239static struct x86_quirks visws_x86_quirks __initdata = {
240 .arch_time_init = visws_time_init, 240 .arch_time_init = visws_time_init,
241 .arch_pre_intr_init = visws_pre_intr_init, 241 .arch_pre_intr_init = visws_pre_intr_init,
242 .arch_memory_setup = visws_memory_setup,
243 .arch_intr_init = NULL, 242 .arch_intr_init = NULL,
244 .arch_trap_init = visws_trap_init, 243 .arch_trap_init = visws_trap_init,
245 .mach_get_smp_config = visws_get_smp_config, 244 .mach_get_smp_config = visws_get_smp_config,
@@ -263,6 +262,8 @@ void __init visws_early_detect(void)
263 */ 262 */
264 x86_quirks = &visws_x86_quirks; 263 x86_quirks = &visws_x86_quirks;
265 264
265 x86_init.resources.memory_setup = visws_memory_setup;
266
266 /* 267 /*
267 * Install reboot quirks: 268 * Install reboot quirks:
268 */ 269 */