BUG_ON() Conversion in kernel/ptrace.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 2 Apr 2006 11:43:40 +0000 (13:43 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 2 Apr 2006 11:43:40 +0000 (13:43 +0200)
commit524223ca8142d593124bde66f3ffa1deb6f56c06
tree881d27c034459b931d8ba3adc0f1d2c8777fbf76
parent9ba025f10885758975fbbc2292a5b9e7cb8026a8
BUG_ON() Conversion in kernel/ptrace.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/ptrace.c