summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/current.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-05-18 20:47:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-18 13:28:48 -0700
commite8006b060f3982a969c5170aa869628d54dd30d8 (patch)
tree0a08439bda44aaa4df3b68bb0b0b0795e291888c /include/asm-m68k/current.h
parenteb4db450aa19dfc806fbd9747879c420e154dc33 (diff)
downloadblackbird-obmc-linux-e8006b060f3982a969c5170aa869628d54dd30d8.tar.gz
blackbird-obmc-linux-e8006b060f3982a969c5170aa869628d54dd30d8.zip
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>
Diffstat (limited to 'include/asm-m68k/current.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud