]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc: Convert BUG() to use unreachable()
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 10 Dec 2009 07:28:19 +0000 (07:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Dec 2009 03:54:27 +0000 (14:54 +1100)
commit01ae45bcd48527e90923d4a247259770eb836d2b
tree2fa42fb9785775b9a27d56f12a488ea3b7036db0
parent3d9b740b2d8d73795d745a46eabd55479ee68dcc
powerpc: Convert BUG() to use unreachable()

Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Paul Mackerras <paulus@samba.org>
CC: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/bug.h