Skip to content

Commit

Permalink
epoch: convert zpcpu_get_cpua(.., curcpu) to zpcpu_get
Browse files Browse the repository at this point in the history
  • Loading branch information
mjguzik committed Feb 12, 2020
1 parent 01dff33 commit bb81af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/subr_epoch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit bb81af5

Please sign in to comment.