]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: Reduce WARN_ON(0) to nothing
authorPaul Mackerras <paulus@samba.org>
Thu, 3 Jun 2004 01:22:18 +0000 (18:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:22:18 +0000 (18:22 -0700)
commitf80063e9aed834699ee74b7f8a302bd5c4b7fa6e
tree3e6bb19a4f4036649ad97b4a6f7990d6f4b4d286
parent717f88507446b3ece2a2345469e174453d431d01
[PATCH] ppc32: Reduce WARN_ON(0) to nothing

The last patch I sent means that we have WARN_ON(0) in a couple of
places when CONFIG_PREEMPT=n.  This patch makes that reduce to
nothing (rather than a conditional trap on a 0 value), and also makes
BUG_ON(0) reduce to nothing for completeness.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-ppc/bug.h