Commit ccb5cf6f authored by Jeff Garzik's avatar Jeff Garzik

[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.
parent 941c0135
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define X86_HARD_MATH CPU_PARAMS+6 #define X86_HARD_MATH CPU_PARAMS+6
#define X86_CPUID CPU_PARAMS+8 #define X86_CPUID CPU_PARAMS+8
#define X86_CAPABILITY CPU_PARAMS+12 #define X86_CAPABILITY CPU_PARAMS+12
#define X86_VENDOR_ID CPU_PARAMS+28 #define X86_VENDOR_ID CPU_PARAMS+36
/* /*
* Initialize page tables * Initialize page tables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment