]> err.no Git - linux-2.6/commit
BUG_ON() Conversion in mm/mempool.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 26 Mar 2006 16:31:56 +0000 (18:31 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 26 Mar 2006 16:31:56 +0000 (18:31 +0200)
commitf02e1fafb534459522a8c46bc46b32820684623e
tree4a4fe770d02fc83b71bcfc6d32eb609c80a5aa95
parent5bcb28b139cffc736177ceb775d1c8b5c5a411e2
BUG_ON() Conversion in mm/mempool.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
mm/mempool.c