diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-03-28 10:26:19 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-03-28 10:26:19 +0200 |
commit | 310f7963c24ab8fa56a539fa060dd84560ce26e9 (patch) | |
tree | 8cae6e5c394828941959f8b0777ff3a6f06abd01 /include/asm-sh/auxvec.h | |
parent | sh: Kill bogus GCC4 symbol exports. (diff) | |
download | linux-310f7963c24ab8fa56a539fa060dd84560ce26e9.tar.xz linux-310f7963c24ab8fa56a539fa060dd84560ce26e9.zip |
sh: Fixup __cmpxchg() compile breakage with gcc4.
As reported by Manuel:
When I build linux with GCC-4.x and enable
CONFIG_CC_OPTIMIZE_FOR_SIZE linking fails with this error:
LD .tmp_vmlinux1
kernel/built-in.o: In function '__cmpxchg_called_with_bad_pointer'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2
This ended up being an inlining problem, fixed by explicitly
including linux/compiler.h and grabbing the definitions from there.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/auxvec.h')
0 files changed, 0 insertions, 0 deletions