]> git.baikalelectronics.ru Git - kernel.git/commit
BUG_ON() Conversion in mm/swap_state.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:25:12 +0000 (01:25 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:25:12 +0000 (01:25 +0200)
commitcb6ae5d1e28e69d1d85529b9fcf4b0b2ee086425
tree6700884d9dea7d382d09abd9b79ea931390f3ccc
parent8371e13fee00dcdb09740d884cc60a2e6635b7a4
BUG_ON() Conversion in mm/swap_state.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/swap_state.c