diff options
author | Anton Blanchard <anton@samba.org> | 2005-08-27 03:34:07 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-27 04:37:11 +0200 |
commit | 32818c2eb6b83ea5065c89e0c3cf774abc4dc02b (patch) | |
tree | 909eed391340511798a80a4e693b401b61ef1e50 /drivers/hwmon/adm1031.c | |
parent | [PATCH] completely disable cpu_exclusive sched domain (diff) | |
download | linux-32818c2eb6b83ea5065c89e0c3cf774abc4dc02b.tar.xz linux-32818c2eb6b83ea5065c89e0c3cf774abc4dc02b.zip |
[PATCH] ppc64: Fix issue with gcc 4.0 compiled kernels
I recently had a BUG_ON() go off spuriously on a gcc 4.0 compiled kernel.
It turns out gcc-4.0 was removing a sign extension while earlier gcc
versions would not. Thinking this to be a compiler bug, I submitted a
report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23422
It turns out we need to cast the input in order to tell gcc to sign extend
it.
Thanks to Andrew Pinski for his help on this bug.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/hwmon/adm1031.c')
0 files changed, 0 insertions, 0 deletions