]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: boot: stub out unimplemented CPU feature words
authorH. Peter Anvin <hpa@zytor.com>
Fri, 15 Aug 2008 22:36:31 +0000 (15:36 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 19 Aug 2008 01:22:17 +0000 (18:22 -0700)
commite2fe16d91228a005811335fbc4fbad5d4f5b75af
treee6e2620dbe70a4ae7653625d10aebe60d6edee48
parent8d02c2110b3fb8e2700b31596a582a2989fd72ba
x86: boot: stub out unimplemented CPU feature words

The CPU feature detection code in the boot code is somewhat minimal,
and doesn't include all possible CPUID words.  In particular, it
doesn't contain the code for CPU feature words 2 (Transmeta),
3 (Linux-specific), 5 (VIA), or 7 (scattered).  Zero them out, so we
can still set those bits as known at compile time; in particular, this
allows creating a Linux-specific NOPL flag and have it required (and
therefore resolvable at compile time) in 64-bit mode.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/cpucheck.c