BUG_ON() Conversion in kernel/cpu.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 24 Mar 2006 17:45:21 +0000 (18:45 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 24 Mar 2006 17:45:21 +0000 (18:45 +0100)
commit6978c7052f2e22c6c40781cdd4eba5c4bce9a789
treeeb93e551109b441052db414b7074d8b2a0f19e45
parent8cd5283b897f56004631944dd2888e9a7b843f89
BUG_ON() Conversion in kernel/cpu.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/cpu.c