summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index e6a640b..41b540e 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -305,8 +305,8 @@ exit1(p, rv)
* directly. Set it now so that the rest of the exit time gets
* counted somewhere if possible.
*/
- microuptime(&switchtime);
- switchticks = ticks;
+ microuptime(PCPU_PTR(switchtime));
+ PCPU_SET(switchticks, ticks);
/*
* notify interested parties of our demise.
OpenPOWER on IntegriCloud