]> err.no Git - linux-2.6/commit
BUG_ON() Conversion in mm/mmap.c
authorEric Sesterhenn <snakebyte@gmx.de>
Fri, 31 Mar 2006 23:23:29 +0000 (01:23 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 31 Mar 2006 23:23:29 +0000 (01:23 +0200)
commit46a350ef9803a2526a128c55cdb27dd73b2ad966
treeabd046a56c524965862f056e8edff0be629847cb
parent8abd8e298eb15e2c1b993df0634daf29e43e0aab
BUG_ON() Conversion in mm/mmap.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/mmap.c