diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm_core.h | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sat Jul 30 11:21:55 2011 KOSAKI Motohiro <[email protected]> + + * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2. + Sat Jul 30 10:39:14 2011 KOSAKI Motohiro <[email protected]> * vm.c (th_init): preallocate alternative stack. @@ -383,8 +383,8 @@ struct rb_unblock_callback { struct rb_mutex_struct; -#ifdef SIGSTKSZ -#define ALT_STACK_SIZE (SIGSTKSZ*2) +#ifdef MINSIGSTKSZ +#define ALT_STACK_SIZE (MINSIGSTKSZ*2) #else #define ALT_STACK_SIZE (4*1024) #endif |