[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48A9180A.8020803@zytor.com>
Date: Sun, 17 Aug 2008 23:34:50 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Andi Kleen <andi@...stfloor.org>
CC: "Maciej W. Rozycki" <macro@...ux-mips.org>,
David Fries <david@...es.net>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix i486 suspend to disk CR4 oops
Andi Kleen wrote:
>>>
>> The other alternative is to probe for the CPUID instruction (via
>> EFLAGS.ID) -- CR4 is present if and only if CPUID exists.
>
> Can be already checked for with boot_cpu_data.extended_cpuid_level.
>
I believe you mean just plain cpuid_level (which is set to -1 if CPUID
doesn't exist.) extended_cpuid_level is only defined on x86-64, but all
x86-64 CPUs have CR4.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists