diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 22:08:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 22:08:28 -0800 |
commit | caf5b04c82f05c65843b2d7189845d6c3df5a41e (patch) | |
tree | 57543bd382f065b1e9c368669a2f723e0721383f /arch/ppc/xmon/start.c | |
parent | 650eec5e04468d0611a60e6098464b7c43981552 (diff) | |
download | op-kernel-dev-caf5b04c82f05c65843b2d7189845d6c3df5a41e.zip op-kernel-dev-caf5b04c82f05c65843b2d7189845d6c3df5a41e.tar.gz |
x86: Work around compiler code generation bug with -Os
Some versions of gcc generate incorrect code for the inet_check_attr()
function, apparently due to a totally bogus index -> pointer comparison
transformation.
At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is
affected, possibly others too.
This changes the function subtly so that the buggy gcc transformation
doesn't trigger.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/xmon/start.c')
0 files changed, 0 insertions, 0 deletions