]> err.no Git - linux-2.6/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)
commitf4a10b211ddb71d6b4e423fd529468691dec5cca
treeb76a969ac6eb92e91b5d115e66e89cf5c785b962
parent7c3dec0679c66ce177726802adbe2f403942fc27
[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