BUG_ON() Conversion in mm/slab.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 2 Apr 2006 11:49:25 +0000 (13:49 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 2 Apr 2006 11:49:25 +0000 (13:49 +0200)
commit40094fa65238291d51839326320aba997092ab1f
tree37cb650caea9290dbecc27ab5732cd95f5e460d0
parent75babcacede876608f14ef1a20e795ce17ae637f
BUG_ON() Conversion in mm/slab.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/slab.c