X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-arch.c;h=bd1e6634b0119c7c15d444fea21b7151c922acae;hb=f73c1f391342c797b8daebe4e8c27e5923341b6d;hp=6a79854b576f69e1efbea00b29dbb30d8852a8e8;hpb=637371f800e71ac4449e01d59571c9d10f6bde26;p=sbcl.git diff --git a/src/runtime/sparc-arch.c b/src/runtime/sparc-arch.c index 6a79854..bd1e663 100644 --- a/src/runtime/sparc-arch.c +++ b/src/runtime/sparc-arch.c @@ -1,12 +1,13 @@ /* - - $Header$ - - This code was written as part of the CMU Common Lisp project at - Carnegie Mellon University, and has been placed in the public domain. - -*/ - + * This software is part of the SBCL system. See the README file for + * more information. + * + * This software is derived from the CMU CL system, which was + * written at Carnegie Mellon University and released into the + * public domain. The software is in the public domain and is + * provided with absolutely no warranty. See the COPYING and CREDITS + * files for more information. + */ #include #include "runtime.h" @@ -24,7 +25,7 @@ #include "monitor.h" #ifdef LISP_FEATURE_LINUX -extern int early_kernel; +extern int linux_sparc_siginfo_bug; #endif void arch_init(void) @@ -191,7 +192,7 @@ static void sigill_handler(int signal, siginfo_t *siginfo, void *void_context) if ((siginfo->si_code) == ILL_ILLOPC #ifdef LISP_FEATURE_LINUX - || (early_kernel && (siginfo->si_code == 2)) + || (linux_sparc_siginfo_bug && (siginfo->si_code == 2)) #endif ) { int trap; @@ -240,7 +241,7 @@ static void sigill_handler(int signal, siginfo_t *siginfo, void *void_context) } else if ((siginfo->si_code) == ILL_ILLTRP #ifdef LISP_FEATURE_LINUX - || (early_kernel && (siginfo->si_code) == 192) + || (linux_sparc_siginfo_bug && (siginfo->si_code) == 192) #endif ) { if (pseudo_atomic_trap_p(context)) {