[cmucl-cvs] CMUCL commit: cross-sol-x86-branch src/lisp (interrupt.c)

Raymond Toy rtoy at common-lisp.net
Wed Dec 15 12:45:08 UTC 2010


    Date: Wednesday, December 15, 2010 @ 07:45:08
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/lisp
     Tag: cross-sol-x86-branch

Modified: interrupt.c

Use the mmap'ed area for the altstack, as is done for all x86's. 


-------------+
 interrupt.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Index: src/lisp/interrupt.c
diff -u src/lisp/interrupt.c:1.60.12.1 src/lisp/interrupt.c:1.60.12.2
--- src/lisp/interrupt.c:1.60.12.1	Mon Dec 13 23:25:11 2010
+++ src/lisp/interrupt.c	Wed Dec 15 07:45:08 2010
@@ -1,4 +1,4 @@
-/* $Header: /project/cmucl/cvsroot/src/lisp/interrupt.c,v 1.60.12.1 2010-12-14 04:25:11 rtoy Exp $ */
+/* $Header: /project/cmucl/cvsroot/src/lisp/interrupt.c,v 1.60.12.2 2010-12-15 12:45:08 rtoy Exp $ */
 
 /* Interrupt handling magic. */
 
@@ -396,7 +396,7 @@
 * Noise to install handlers.                                     *
 \****************************************************************/
 
-#if defined(SOLARIS) || !(defined(i386) || defined(__x86_64))
+#if !(defined(i386) || defined(__x86_64))
 #define SIGNAL_STACK_SIZE SIGSTKSZ
 static char altstack[SIGNAL_STACK_SIZE];
 #endif
@@ -422,7 +422,7 @@
     if (signal == PROTECTION_VIOLATION_SIGNAL) {
 	stack_t sigstack;
 
-#if !defined(SOLARIS) && (defined( i386 ) || defined(__x86_64))
+#if (defined( i386 ) || defined(__x86_64))
 	sigstack.ss_sp = (void *) SIGNAL_STACK_START;
 #else
 	sigstack.ss_sp = (void *) altstack;




More information about the cmucl-cvs mailing list