svn commit: r357803 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Wed Feb 12 11:10:11 UTC 2020


Author: mjg
Date: Wed Feb 12 11:10:10 2020
New Revision: 357803
URL: https://svnweb.freebsd.org/changeset/base/357803

Log:
  epoch: convert zpcpu_get_cpua(.., curcpu) to zpcpu_get

Modified:
  head/sys/kern/subr_epoch.c

Modified: head/sys/kern/subr_epoch.c
==============================================================================
--- head/sys/kern/subr_epoch.c	Wed Feb 12 10:03:25 2020	(r357802)
+++ head/sys/kern/subr_epoch.c	Wed Feb 12 11:10:10 2020	(r357803)
@@ -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)					\


More information about the svn-src-head mailing list