MIPS: Convert BUG() to use unreachable()
authorDavid Daney <ddaney@caviumnetworks.com>
Sat, 5 Dec 2009 01:44:52 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Dec 2009 17:10:12 +0000 (09:10 -0800)
commit4ef5651e85589e3aaca704c6d2d7ae7e794e5d25
treecd78e6e87c245667035eb7b120ebdf633b221cdb
parenta5fc5eba4dfcc284e6adcd7fdcd5b43182230d2b
MIPS: Convert BUG() to use unreachable()

Use the new unreachable() macro instead of while(1);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
CC: linux-mips@linux-mips.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/include/asm/bug.h