summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-19 18:02:26 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-20 09:25:52 +0200
commit63b5d7af2556a7de6bf72c5dd0b85a32fb4c3767 (patch)
tree83465d3c04f62c241d08cc7663328374e9edea4d /include
parent64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a (diff)
downloadtalos-obmc-linux-63b5d7af2556a7de6bf72c5dd0b85a32fb4c3767.tar.gz
talos-obmc-linux-63b5d7af2556a7de6bf72c5dd0b85a32fb4c3767.zip
x86: add ->pre_time_init to x86_quirks
so NUMAQ can use that to call numaq_pre_time_init() This allows us to remove a NUMAQ special from arch/x86/kernel/setup.c. (and paves the way to remove the NUMAQ subarch) Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/arch_hooks.h1
-rw-r--r--include/asm-x86/setup.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/arch_hooks.h b/include/asm-x86/arch_hooks.h
index 768aee8a04ef..8411750ceb63 100644
--- a/include/asm-x86/arch_hooks.h
+++ b/include/asm-x86/arch_hooks.h
@@ -21,6 +21,7 @@ extern void intr_init_hook(void);
extern void pre_intr_init_hook(void);
extern void pre_setup_arch_hook(void);
extern void trap_init_hook(void);
+extern void pre_time_init_hook(void);
extern void time_init_hook(void);
extern void mca_nmi_hook(void);
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index 2585075da9b4..f003ceaad6af 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -23,6 +23,7 @@ struct mpc_config_processor;
struct mpc_config_bus;
struct mp_config_oemtable;
struct x86_quirks {
+ int (*arch_pre_time_init)(void);
int (*arch_time_init)(void);
int (*arch_pre_intr_init)(void);
int (*arch_intr_init)(void);
OpenPOWER on IntegriCloud