BUG_ON() Conversion in lib/swiotlb.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 24 Mar 2006 17:47:11 +0000 (18:47 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 24 Mar 2006 17:47:11 +0000 (18:47 +0100)
commit34814545890db603b7648ea2ea477d1f83b61297
treedcf8b60a50bbcbe8bf0ee29ea0d428c2435a895e
parent6978c7052f2e22c6c40781cdd4eba5c4bce9a789
BUG_ON() Conversion in lib/swiotlb.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>
lib/swiotlb.c