Anton Blanchard 32818c2eb6 [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>
2005-08-26 19:37:11 -07:00
..
2005-08-23 18:43:44 -07:00
2005-07-26 14:35:41 -07:00
2005-07-26 14:35:41 -07:00
2005-07-26 14:35:41 -07:00
2005-08-23 18:43:44 -07:00
2005-07-26 14:35:41 -07:00
2005-08-23 18:43:46 -07:00
2005-04-16 15:20:36 -07:00
2005-08-01 19:13:59 -07:00
2005-08-23 10:11:45 -07:00
2005-04-16 15:20:36 -07:00