Index: /trunk/ccl/lisp-kernel/x86-exceptions.h
===================================================================
--- /trunk/ccl/lisp-kernel/x86-exceptions.h	(revision 5995)
+++ /trunk/ccl/lisp-kernel/x86-exceptions.h	(revision 5996)
@@ -30,5 +30,5 @@
 #define DARWIN_USE_PSEUDO_SIGRETURN 1
 #include <sys/syscall.h>
-#define DarwinSigReturn(context) syscall(SYS_sigreturn,context)
+#define DarwinSigReturn(context) syscall(0x2000000|SYS_sigreturn,context,0x1e)
 #ifdef X8664
 #define xpGPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__ss.__rax)))
@@ -133,5 +133,5 @@
 /* The x86 version of sigreturn just needs the context argument; the
    hidden, magic "flavor" argument that sigtramp uses is ignored. */
-#define SIGRETURN(context) syscall(SYS_sigreturn,context)
+#define SIGRETURN(context) DarwinSigReturn(context)
 #endif
 
