]> err.no Git - linux-2.6/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)
commite74ca2b49b8a38e9ba0bc039a00498c21140f1d6
tree6700884d9dea7d382d09abd9b79ea931390f3ccc
parent46a350ef9803a2526a128c55cdb27dd73b2ad966
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