aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_epoch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_epoch.c b/sys/kern/subr_epoch.c
index 0a477e1d6f7bf..9d396f627ee64 100644
--- a/sys/kern/subr_epoch.c
+++ b/sys/kern/subr_epoch.c
@@ -357,7 +357,7 @@ static epoch_record_t
epoch_currecord(epoch_t epoch)
{
- return (zpcpu_get_cpu(epoch->e_pcpu_record, curcpu));
+ return (zpcpu_get(epoch->e_pcpu_record));
}
#define INIT_CHECK(epoch) \