BUG_ON() Conversion in ipc/shm.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 2 Apr 2006 11:42:42 +0000 (13:42 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 2 Apr 2006 11:42:42 +0000 (13:42 +0200)
commit9ba025f10885758975fbbc2292a5b9e7cb8026a8
tree2b6b88de37c42db0541ddf929d0a38b60f4a5871
parent7ec70738097af9dfd25d5f83e9b27a532f462912
BUG_ON() Conversion in ipc/shm.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>
ipc/shm.c