]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] x86_64: cpu_pda array to macro followup correction
authorJan Beulich <jbeulich@novell.com>
Sat, 25 Mar 2006 15:29:16 +0000 (16:29 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:52 +0000 (09:10 -0800)
Fix one place where the previous change of cpu_pda from being an array
to being a macro was not properly carried out.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup64.c

index 70f1bb808a20e85a98931a2136345228a738e490..349d55c2ac4e35e3413d24f8cef608f87ea56a79 100644 (file)
@@ -248,7 +248,7 @@ void __cpuinit cpu_init (void)
                switch (v + 1) {
 #if DEBUG_STKSZ > EXCEPTION_STKSZ
                case DEBUG_STACK:
-                       cpu_pda[cpu].debugstack = (unsigned long)estacks;
+                       cpu_pda(cpu)->debugstack = (unsigned long)estacks;
                        estacks += DEBUG_STKSZ;
                        break;
 #endif