From: David Daney Date: Sat, 5 Dec 2009 01:44:51 +0000 (-0800) Subject: x86: Convert BUG() to use unreachable() X-Git-Tag: v2.6.33-rc1~416 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5fc5eba4dfcc284e6adcd7fdcd5b43182230d2b;p=pandora-kernel.git x86: Convert BUG() to use unreachable() Use the new unreachable() macro instead of for(;;);. When allyesconfig is built with a GCC-4.5 snapshot on i686 the size of the text segment is reduced by 3987 bytes (from 6827019 to 6823032). Signed-off-by: David Daney Acked-by: "H. Peter Anvin" CC: Thomas Gleixner CC: Ingo Molnar CC: x86@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed