]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Make gcc aware that BUG() does not return
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 May 2008 18:47:12 +0000 (20:47 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 18 May 2008 20:28:48 +0000 (13:28 -0700)
commitf1653416597f46d83068317c528626ef3d3942d3
tree0a08439bda44aaa4df3b68bb0b0b0795e291888c
parent2571a839e3a004ba3fdae11ea4e2f6f45fa51782
m68k: Make gcc aware that BUG() does not return

Use `__builtin_trap()' instead of `asm volatile("illegal")' in the m68k BUG()
macros (as suggested by Andrew Pinski), to kill warnings in code that assumes
BUG() does not return.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-m68k/bug.h