提交 3240114d 编写于 作者: J Jan Beulich 提交者: Linus Torvalds

[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: NJan Beulich <jbeulich@novell.com>
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 abe059e7
...@@ -248,7 +248,7 @@ void __cpuinit cpu_init (void) ...@@ -248,7 +248,7 @@ void __cpuinit cpu_init (void)
switch (v + 1) { switch (v + 1) {
#if DEBUG_STKSZ > EXCEPTION_STKSZ #if DEBUG_STKSZ > EXCEPTION_STKSZ
case DEBUG_STACK: case DEBUG_STACK:
cpu_pda[cpu].debugstack = (unsigned long)estacks; cpu_pda(cpu)->debugstack = (unsigned long)estacks;
estacks += DEBUG_STKSZ; estacks += DEBUG_STKSZ;
break; break;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册