aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/time_64.c
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2008-09-22 13:35:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-13 04:21:49 -0400
commite04d645f326bc8e591bc4ae21c4ab535987a17c1 (patch)
treed3a84449192afd9c418dcf52926c8be4be73f2dd /arch/x86/kernel/time_64.c
parent33c053d0aec344c8b2ad6966d904ebeff64e590b (diff)
x86: move vgetcpu mode probing to cpu detection
Take it out of time initialization and move it to cpu detection time. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/time_64.c')
-rw-r--r--arch/x86/kernel/time_64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/time_64.c b/arch/x86/kernel/time_64.c
index 207a7a1d7ac5..cb19d650c216 100644
--- a/arch/x86/kernel/time_64.c
+++ b/arch/x86/kernel/time_64.c
@@ -130,10 +130,6 @@ void __init hpet_time_init(void)
130void __init time_init(void) 130void __init time_init(void)
131{ 131{
132 tsc_init(); 132 tsc_init();
133 if (cpu_has(&boot_cpu_data, X86_FEATURE_RDTSCP))
134 vgetcpu_mode = VGETCPU_RDTSCP;
135 else
136 vgetcpu_mode = VGETCPU_LSL;
137 133
138 late_time_init = choose_time_init(); 134 late_time_init = choose_time_init();
139} 135}