]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: Fix gcc 4.2 _proxy_pda workaround
authorAndi Kleen <ak@suse.de>
Mon, 16 Apr 2007 08:30:27 +0000 (10:30 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Mon, 16 Apr 2007 08:30:27 +0000 (10:30 +0200)
commit9c200e87d4c1b7370e7eaf8f14a0d0b32dbcb5c8
treeb5fe6676e4e4094ce12b1be1931a04b34742577e
parent3ab1e8fb7ab9c685ac3a6027531dc1d0265081a5
[PATCH] x86: Fix gcc 4.2 _proxy_pda workaround

Due to an over aggressive optimizer gcc 4.2 cannot optimize away _proxy_pda
in all cases (counter intuitive, but true).  This breaks loading of some
modules.

The earlier workaround to just export a dummy symbol didn't work unfortunately
because the module code ignores exports with 0 value.

Make it 1 instead.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/vmlinux.lds.S
arch/x86_64/kernel/vmlinux.lds.S