summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-09-04 03:40:21 +0000
committerRoland McGrath <roland@gnu.org>1994-09-04 03:40:21 +0000
commit3593d4f9d8d34ac37da838263e2ba089742ab0ff (patch)
tree26ca25819e5f39a5dfb4e47e84aeca56d4e195bc /mach
parent6e3d0a574ab3e8b355f67d2f636a72336290f9c0 (diff)
Use MACHINE_THREAD_STATE_SET_PC.
Diffstat (limited to 'mach')
-rw-r--r--mach/setup-thread.c2
1 files changed, 1 insertions, 1 deletions
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;