diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-19 21:02:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-20 03:25:52 -0400 |
commit | 63b5d7af2556a7de6bf72c5dd0b85a32fb4c3767 (patch) | |
tree | 83465d3c04f62c241d08cc7663328374e9edea4d /arch/x86/mach-default/setup.c | |
parent | 64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a (diff) |
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 'arch/x86/mach-default/setup.c')
-rw-r--r-- | arch/x86/mach-default/setup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/mach-default/setup.c b/arch/x86/mach-default/setup.c index 631dbed9fb9d..3d317836be9e 100644 --- a/arch/x86/mach-default/setup.c +++ b/arch/x86/mach-default/setup.c | |||
@@ -103,6 +103,16 @@ static struct irqaction irq0 = { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | /** | 105 | /** |
106 | * pre_time_init_hook - do any specific initialisations before. | ||
107 | * | ||
108 | **/ | ||
109 | void __init pre_time_init_hook(void) | ||
110 | { | ||
111 | if (x86_quirks->arch_pre_time_init) | ||
112 | x86_quirks->arch_pre_time_init(); | ||
113 | } | ||
114 | |||
115 | /** | ||
106 | * time_init_hook - do any specific initialisations for the system timer. | 116 | * time_init_hook - do any specific initialisations for the system timer. |
107 | * | 117 | * |
108 | * Description: | 118 | * Description: |