diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-09 08:58:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 08:58:11 -0500 |
commit | 249d51b53aea1b7cdb1be65a1a9a0c59d9e06f3e (patch) | |
tree | 7fc06930e46ee13d394f5b031166c40206af3189 /arch/x86/mach-voyager/setup.c | |
parent | 44581a28e805a31661469c4b466b9cd14b36e7b6 (diff) | |
parent | 8e4921515c1a379539607eb443d51c30f4f7f338 (diff) |
Merge commit 'v2.6.29-rc4' into core/percpu
Conflicts:
arch/x86/mach-voyager/voyager_smp.c
arch/x86/mm/fault.c
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 | } |