BUG_ON cleanups in arch/i386
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 3 Oct 2006 21:34:58 +0000 (23:34 +0200)
committerAdrian Bunk <bunk@stusta.de>
Tue, 3 Oct 2006 21:34:58 +0000 (23:34 +0200)
commit8d8f3cbe777e014123bfa63f2cebd6eb29032225
tree5ca6abfa5e696d3c792050221c4f7326d676d23f
parent644c12d7f695c0a30662ac781b0f06f79d7f9bab
BUG_ON cleanups in arch/i386

This changes a couple of if() BUG(); constructs to
BUG_ON(); so it can be safely optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/i386/kernel/cpu/common.c
arch/i386/kernel/efi.c
arch/i386/mm/discontig.c
arch/i386/mm/init.c