BUG_ON() Conversion in kernel/printk.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:21:17 +0000 (01:21 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:21:17 +0000 (01:21 +0200)
commit8abd8e298eb15e2c1b993df0634daf29e43e0aab
treea83df11829c6ffdee4a787b57f899f87813a6fb1
parent9bc98fc6fd3d07f37b597601489df200e0024222
BUG_ON() Conversion in kernel/printk.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>
kernel/printk.c