]> err.no Git - linux-2.6/commit
make powerpc BUG_ON() OK with pointers and bitwise
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:35:49 +0000 (17:35 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (11:11 -0700)
commit97f1e7f7d2cd950f90d64ac6920822e709095519
tree4bd8bfc2b40288d0f1ee50de8549e209cccef58b
parentfdd33961e983dd5b1983c54ef39d243c88a4bffc
make powerpc BUG_ON() OK with pointers and bitwise

Since powerpc insists on printing the _value_ of condition
and on casting it to long...  At least let's make it a force-cast.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-powerpc/bug.h