Message ID | 1345345030-22211-31-git-send-email-andi@firstfloor.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 2c02d92..cb72014 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -116,7 +116,7 @@ static void __cpuinit init_amd_k6(struct cpuinfo_x86 *c) */ n = K6_BUG_LOOP; - f_vide = vide; + asm("" : "=r" (f_vide) : "0" (vide)); rdtscl(d); while (n--) f_vide();