Commit:     aa6299926950c8dfe2fea638276cad6def092bc9
Parent:     f3191248bf1bf6627c04c5624904df45e0a979ed
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 1 23:45:18 2008 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Feb 2 10:00:26 2008 +1100

    x86: fix bootup crash in native_read_tsc()
    fix bootup crash in native_read_tsc() that was reported on an Athlon-XP
    and bisected. The correct feature boundary for X86_FEATURE_MFENCE_RDTSC
    is not XMM but XMM2.
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Acked-by: H. Peter Anvin <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/x86/kernel/cpu/amd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 06fa159..693e353 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -304,7 +304,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
        if (c->x86 < 6)
                clear_bit(X86_FEATURE_MCE, c->x86_capability);
-       if (cpu_has_xmm)
+       if (cpu_has_xmm2)
                set_bit(X86_FEATURE_MFENCE_RDTSC, c->x86_capability);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to