aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/x86_init.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-20 04:41:58 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-27 11:12:52 -0400
commitfd6c6661492226bb82f422157c535ac573cbecbd (patch)
treebbc1f0e0f9496f4670799c507b472514a19bbd19 /arch/x86/include/asm/x86_init.h
parentde93410310952fb7b705f784ef22493c8362dbe8 (diff)
x86: Move mpc_apic_id to x86_init_ops
The mpc_apic_id setup is handled by a x86_quirk. Make it a x86_init_ops function with a default implementation. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/x86_init.h')
-rw-r--r--arch/x86/include/asm/x86_init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h
index 65985730b376..f2be2a780189 100644
--- a/arch/x86/include/asm/x86_init.h
+++ b/arch/x86/include/asm/x86_init.h
@@ -1,14 +1,18 @@
1#ifndef _ASM_X86_PLATFORM_H 1#ifndef _ASM_X86_PLATFORM_H
2#define _ASM_X86_PLATFORM_H 2#define _ASM_X86_PLATFORM_H
3 3
4struct mpc_cpu;
5
4/** 6/**
5 * struct x86_init_mpparse - platform specific mpparse ops 7 * struct x86_init_mpparse - platform specific mpparse ops
6 * @mpc_record: platform specific mpc record accounting 8 * @mpc_record: platform specific mpc record accounting
7 * @setup_ioapic_ids: platform specific ioapic id override 9 * @setup_ioapic_ids: platform specific ioapic id override
10 * @mpc_apic_id: platform specific mpc apic id assignment
8 */ 11 */
9struct x86_init_mpparse { 12struct x86_init_mpparse {
10 void (*mpc_record)(unsigned int mode); 13 void (*mpc_record)(unsigned int mode);
11 void (*setup_ioapic_ids)(void); 14 void (*setup_ioapic_ids)(void);
15 int (*mpc_apic_id)(struct mpc_cpu *m);
12}; 16};
13 17
14/** 18/**