X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fvalidate.c;h=aa0890fa570b9762fcda71ef07e7d7e0e70e1c55;hb=ded744f74ab2f1a97679ad4f91e0eb8d995daef2;hp=6d768039665d7056b683ad90d55bb034e83369de;hpb=1419c1d2d50f039be46a8667351b7738ac4965e4;p=sbcl.git diff --git a/src/runtime/validate.c b/src/runtime/validate.c index 6d76803..aa0890f 100644 --- a/src/runtime/validate.c +++ b/src/runtime/validate.c @@ -16,10 +16,10 @@ #include #include +#include "sbcl.h" #include "runtime.h" #include "os.h" #include "globals.h" -#include "sbcl.h" #include "validate.h" static void @@ -72,9 +72,6 @@ validate(void) ensure_space( (lispobj *)DYNAMIC_0_SPACE_START , DYNAMIC_SPACE_SIZE); ensure_space( (lispobj *)DYNAMIC_1_SPACE_START , DYNAMIC_SPACE_SIZE); #endif -#ifdef LISP_FEATURE_C_STACK_IS_CONTROL_STACK - ensure_space( (lispobj *) ALTERNATE_SIGNAL_STACK_START, SIGSTKSZ); -#endif #ifdef HOLES make_holes(); @@ -86,11 +83,9 @@ validate(void) } void protect_control_stack_guard_page(pid_t t_id, int protect_p) { - struct thread *th= find_thread_by_pid(t_id); -#if 0 + struct thread *th = find_thread_by_pid(t_id); os_protect(CONTROL_STACK_GUARD_PAGE(th), os_vm_page_size,protect_p ? (OS_VM_PROT_READ|OS_VM_PROT_EXECUTE) : OS_VM_PROT_ALL); -#endif }