[Git][cmucl/cmucl][rtoy-mmap-anon-control-and-binding-stacks] Fix typo.

Raymond Toy rtoy at common-lisp.net
Wed May 11 02:32:49 UTC 2016


Raymond Toy pushed to branch rtoy-mmap-anon-control-and-binding-stacks at cmucl / cmucl


Commits:
8b1ba846 by Raymond Toy at 2016-05-10T19:32:43-07:00
Fix typo.

We want #ifndef, not #ifdef to enable the relocatable stacks.

- - - - -


1 changed file:

- src/lisp/x86-validate-linux.h


Changes:

=====================================
src/lisp/x86-validate-linux.h
=====================================
--- a/src/lisp/x86-validate-linux.h
+++ b/src/lisp/x86-validate-linux.h
@@ -45,17 +45,17 @@
 #define STATIC_SPACE_START	(SpaceStart_TargetStatic)
 #define STATIC_SPACE_SIZE	(0x0ffff000)	/* 256MB - 1 page */
 
-#ifdef RELOCATABLE_STACK_START
+#ifndef RELOCATABLE_STACK_START
 #define BINDING_STACK_START	(0x20000000)
 #endif
 #define BINDING_STACK_SIZE	(0x07fff000)	/* 128MB - 1 page */
 
-#ifdef RELOCATABLE_STACK_START
+#ifndef RELOCATABLE_STACK_START
 #define CONTROL_STACK_START	0x38000000
 #endif
 #define CONTROL_STACK_SIZE	(0x07fff000 - 8192)
 
-#ifdef RELOCATABLE_STACK_START
+#ifndef RELOCATABLE_STACK_START
 #define SIGNAL_STACK_START	CONTROL_STACK_END
 #endif
 #define SIGNAL_STACK_SIZE	SIGSTKSZ



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/8b1ba846e64934b696812e005fc4ef635056a428
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20160511/e7f79533/attachment.html>


More information about the cmucl-cvs mailing list