[PATCH] x86: Work around gcc 4.2 over aggressive optimizer
commit787db6107036ffd8f89903857ce1327f73beabb3
authorAndi Kleen <ak@suse.de>
Tue, 23 Jan 2007 17:17:09 +0000 (24 04:17 +1100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:42 +0000 (5 08:31 -0800)
tree47252d616942cc184ea66094663e1cddea5a27a1
parent808c407e1a534865ca5e151b3a5bae58b73408a9
[PATCH] x86: Work around gcc 4.2 over aggressive optimizer

The new PDA code uses a dummy _proxy_pda variable to describe
memory references to the PDA. It is never referenced
in inline assembly, but exists as input/output arguments.
gcc 4.2 in some cases can CSE references to this which causes
unresolved symbols.  Define it to zero to avoid this.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/i386/kernel/vmlinux.lds.S
arch/x86_64/kernel/vmlinux.lds.S