From 3593d4f9d8d34ac37da838263e2ba089742ab0ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 4 Sep 1994 03:40:21 +0000 Subject: Use MACHINE_THREAD_STATE_SET_PC. --- mach/setup-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mach') diff --git a/mach/setup-thread.c b/mach/setup-thread.c index 7c2889f8ba..a59012785d 100644 --- a/mach/setup-thread.c +++ b/mach/setup-thread.c @@ -74,7 +74,7 @@ __mach_setup_thread (task_t task, thread_t thread, void *pc, *stack_size = size; memset (&ts, 0, sizeof (ts)); - ts.PC = (int) pc; + MACHINE_THREAD_STATE_SET_PC (&ts, pc); #ifdef STACK_GROWTH_DOWN if (stack_base) *stack_base = stack + __vm_page_size; -- cgit v1.2.3