summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2023-02-12 18:03:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-12 18:28:47 +0100
commit5fdc928d3d29fdc93ad00cea5f5c877a19013d44 (patch)
treeb4b63da236cd6d805d6bcd7bafad03ef3994bb40 /kern/thread.c
parentb0d39e2ffda3cdd67d81022f40b2a73518fda6d0 (diff)
fix rpc time value for 64 bit
* include/mach/task_info.h: use rpc variant of time_value_t * include/mach/thread_info.h: Likewise * kern/mach_clock.c: use rpc variant of time_value_t in read_time_stamp() * kern/mach_clock.h: Likewise * kern/thread.c: use rpc variant of thread_read_times() * kern/timer.h_ add thread_read_times_rpc() by converting time_value_t to the corresponding rpc structures inline. Message-Id: <20230212170313.1501404-5-luca@orpolo.org>
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 17cc458c..4a6b9eda 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1522,7 +1522,7 @@ kern_return_t thread_info(
/* fill in info */
- thread_read_times(thread,
+ thread_read_times_rpc(thread,
&basic_info->user_time,
&basic_info->system_time);
basic_info->base_priority = thread->priority;