* PATCH 2.6: fix X86_VENDOR_ID offset in head.S
@ 2003-08-09 14:04 Jeff Garzik
0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2003-08-09 14:04 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
While reviewing my 2.4 backport of the 2.6 cpu capabilities (including
the Via RNG support), Mikael Pettersson noticed a bug in both my
backport, and 2.6: when NCAPINTS (x86_capability array size) is
increased, one must adjust the offset in arch/i386/kernel/head.S also.
Contributed by Mikael Pettersson.
===== arch/i386/kernel/head.S 1.27 vs edited =====
--- 1.27/arch/i386/kernel/head.S Mon May 12 21:59:20 2003
+++ edited/arch/i386/kernel/head.S Sat Aug 9 09:59:50 2003
@@ -35,7 +35,7 @@
#define X86_HARD_MATH CPU_PARAMS+6
#define X86_CPUID CPU_PARAMS+8
#define X86_CAPABILITY CPU_PARAMS+12
-#define X86_VENDOR_ID CPU_PARAMS+28
+#define X86_VENDOR_ID CPU_PARAMS+36
/*
* Initialize page tables
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-09 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09 14:04 PATCH 2.6: fix X86_VENDOR_ID offset in head.S Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).