From ccb5cf6f9e5ffef604b9ad8fc6c7a3060de03574 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Fri, 8 Aug 2003 19:39:26 -0700 Subject: [PATCH] [PATCH] PATCH 2.6: fix X86_VENDOR_ID offset in head.S 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S index 3c546026c7c03..9ae184fb815a9 100644 --- a/arch/i386/kernel/head.S +++ b/arch/i386/kernel/head.S @@ -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 -- 2.53.0