From: Jan Beulich Date: Sat, 25 Mar 2006 15:29:16 +0000 (+0100) Subject: [PATCH] x86_64: cpu_pda array to macro followup correction X-Git-Tag: v2.6.17-rc1~723 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3240114d23793384fa9c3c53f391f672d1c22d2e;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [PATCH] x86_64: cpu_pda array to macro followup correction 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 Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c index 70f1bb8..349d55c 100644 --- a/arch/x86_64/kernel/setup64.c +++ b/arch/x86_64/kernel/setup64.c @@ -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