diff options
Diffstat (limited to 'arch/x86/mach-voyager/setup.c')
-rw-r--r-- | arch/x86/mach-voyager/setup.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/x86/mach-voyager/setup.c b/arch/x86/mach-voyager/setup.c index 0ade62555ff3..66b7eb57d8e4 100644 --- a/arch/x86/mach-voyager/setup.c +++ b/arch/x86/mach-voyager/setup.c | |||
@@ -34,13 +34,23 @@ void __init intr_init_hook(void) | |||
34 | setup_irq(2, &irq2); | 34 | setup_irq(2, &irq2); |
35 | } | 35 | } |
36 | 36 | ||
37 | void __init pre_setup_arch_hook(void) | 37 | static void voyager_disable_tsc(void) |
38 | { | 38 | { |
39 | /* Voyagers run their CPUs from independent clocks, so disable | 39 | /* Voyagers run their CPUs from independent clocks, so disable |
40 | * the TSC code because we can't sync them */ | 40 | * the TSC code because we can't sync them */ |
41 | setup_clear_cpu_cap(X86_FEATURE_TSC); | 41 | setup_clear_cpu_cap(X86_FEATURE_TSC); |
42 | } | 42 | } |
43 | 43 | ||
44 | void __init pre_setup_arch_hook(void) | ||
45 | { | ||
46 | voyager_disable_tsc(); | ||
47 | } | ||
48 | |||
49 | void __init pre_time_init_hook(void) | ||
50 | { | ||
51 | voyager_disable_tsc(); | ||
52 | } | ||
53 | |||
44 | void __init trap_init_hook(void) | 54 | void __init trap_init_hook(void) |
45 | { | 55 | { |
46 | } | 56 | } |