diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-20 05:11:52 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-31 03:35:45 -0400 |
commit | b3f1b617f49447df6c3f5fac9c225aaea8b724ea (patch) | |
tree | 9c1cc5a96be1330868312d7970583838790b14a3 /arch/x86/include/asm/x86_init.h | |
parent | 90e1c6969d8711edb888a00ec54c74370f125c8f (diff) |
x86: Move get/find_smp_config to x86_init_ops
Replace the quirk machinery by a x86_init_ops function which defaults
to the standard 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.h | 4 |
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 2833a873a903..e0d4729c9054 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h | |||
@@ -13,6 +13,8 @@ struct mpc_table; | |||
13 | * @smp_read_mpc_oem: platform specific oem mpc table setup | 13 | * @smp_read_mpc_oem: platform specific oem mpc table setup |
14 | * @mpc_oem_pci_bus: platform specific pci bus setup (default NULL) | 14 | * @mpc_oem_pci_bus: platform specific pci bus setup (default NULL) |
15 | * @mpc_oem_bus_info: platform specific mpc bus info | 15 | * @mpc_oem_bus_info: platform specific mpc bus info |
16 | * @find_smp_config: find the smp configuration | ||
17 | * @get_smp_config: get the smp configuration | ||
16 | */ | 18 | */ |
17 | struct x86_init_mpparse { | 19 | struct x86_init_mpparse { |
18 | void (*mpc_record)(unsigned int mode); | 20 | void (*mpc_record)(unsigned int mode); |
@@ -21,6 +23,8 @@ struct x86_init_mpparse { | |||
21 | void (*smp_read_mpc_oem)(struct mpc_table *mpc); | 23 | void (*smp_read_mpc_oem)(struct mpc_table *mpc); |
22 | void (*mpc_oem_pci_bus)(struct mpc_bus *m); | 24 | void (*mpc_oem_pci_bus)(struct mpc_bus *m); |
23 | void (*mpc_oem_bus_info)(struct mpc_bus *m, char *name); | 25 | void (*mpc_oem_bus_info)(struct mpc_bus *m, char *name); |
26 | void (*find_smp_config)(unsigned int reserve); | ||
27 | void (*get_smp_config)(unsigned int early); | ||
24 | }; | 28 | }; |
25 | 29 | ||
26 | /** | 30 | /** |