]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] __builtin_trap() and gcc version.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 12 Jul 2006 14:39:42 +0000 (16:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 12 Jul 2006 14:39:42 +0000 (16:39 +0200)
commitfb072ad2adb96586c361021fd3615628c4b50899
treeb76a969ac6eb92e91b5d115e66e89cf5c785b962
parentf49f5f67595fa4daa8a1a8bf8b5d083140cb0d45
[S390] __builtin_trap() and gcc version.

__builtin_trap() has the archictecture defined backend in gcc since gcc 3.3.
To make sure the kernel builds with gcc 3.2 as well, use the old style BUG()
statement if compiled with older gcc versions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/bug.h