git: 71370d8c7fc3 - stable/13 - Properly define EPOCH(9) function macro.
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Jun 2 12:24:49 UTC 2021
The branch stable/13 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=71370d8c7fc306c4999f16fcbc12365159ab92a7
commit 71370d8c7fc306c4999f16fcbc12365159ab92a7
Author: Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-05-21 08:22:13 +0000
Commit: Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-06-02 11:25:19 +0000
Properly define EPOCH(9) function macro.
No functional change intended.
Sponsored by: Mellanox Technologies // NVIDIA Networking
(cherry picked from commit f33168351b3804664f5e82a409d9f956df2802f3)
---
sys/kern/subr_epoch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/subr_epoch.c b/sys/kern/subr_epoch.c
index 31b79513fdc2..798dbdc4360e 100644
--- a/sys/kern/subr_epoch.c
+++ b/sys/kern/subr_epoch.c
@@ -871,7 +871,7 @@ epoch_assert_nocpu(epoch_t epoch, struct thread *td)
}
}
#else
-#define epoch_assert_nocpu(e, td)
+#define epoch_assert_nocpu(e, td) do {} while (0)
#endif
int
More information about the dev-commits-src-all
mailing list