0.7.4.17: Mostly Alpha fixes
[sbcl.git] / src / runtime / linux-os.c
index 69d5a41..d44f19f 100644 (file)
@@ -73,7 +73,7 @@ void os_init(void)
         * that has more than one digit initially -- CSR, 2002-02-12 */
        minor_version = atoi(name.release+2);
        if (minor_version < 4) {
-           fprintf(stderr,"linux minor version=%d;\n enabling workarounds for SPARC kernel bugs in signal handling.\n", minor_version);
+           FSHOW((stderr,"linux minor version=%d;\n enabling workarounds for SPARC kernel bugs in signal handling.\n", minor_version));
            early_kernel = 1;
        }
 #endif
@@ -274,14 +274,14 @@ sigsegv_handler(int signal, siginfo_t *info, void* void_context)
 
     if (addr != NULL && 
        *os_context_register_addr(context,reg_ALLOC) & (1L<<63)){
+       
        /* This is the end of a pseudo-atomic section during which
         * a signal was received.  We must deal with the pending interrupt
         * (see also interrupt.c, ../code/interrupt.lisp)
         */
-
        /* (how we got here: when interrupting, we set bit 63 in
         * reg_Alloc.  At the end of the atomic section we tried to
-        * write to reg_Alloc, got a SIGSEGV (there's nothing mapped
+        * write to reg_ALLOC, got a SIGSEGV (there's nothing mapped
         * there) so ended up here
         */
        *os_context_register_addr(context,reg_ALLOC) -= (1L<<63);