summaryrefslogtreecommitdiff
path: root/thread_pthread.ci
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci8
1 files changed, 6 insertions, 2 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index fb4d269140..c1f5c42249 100644
--- a/thread_pthread.ci
+++ b/thread_pthread.ci
@@ -86,7 +86,11 @@ Init_native_thread()
posix_signal(SIGVTALRM, null_func);
}
-NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start));
+NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start
+#ifdef __ia64
+ , VALUE *register_stack_start
+#endif
+));
static void
native_thread_destroy(rb_thread_t *th)
@@ -107,7 +111,7 @@ thread_start_func_1(void *th_ptr)
VALUE stack_start;
/* run */
- thread_start_func_2(th, &stack_start);
+ thread_start_func_2(th, &stack_start, rb_ia64_bsp());
}
#if USE_THREAD_CACHE
if (1) {