aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r--arch/x86/kernel/cpu/amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index a69710db6112..51ad2af84a72 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -125,10 +125,10 @@ static void init_amd_k6(struct cpuinfo_x86 *c)
125 125
126 n = K6_BUG_LOOP; 126 n = K6_BUG_LOOP;
127 f_vide = vide; 127 f_vide = vide;
128 d = native_read_tsc(); 128 d = rdtsc();
129 while (n--) 129 while (n--)
130 f_vide(); 130 f_vide();
131 d2 = native_read_tsc(); 131 d2 = rdtsc();
132 d = d2-d; 132 d = d2-d;
133 133
134 if (d > 20*K6_BUG_LOOP) 134 if (d > 20*K6_BUG_LOOP)