The branch main has been updated by hselasky:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f33168351b3804664f5e82a409d9f956df2802f3

commit f33168351b3804664f5e82a409d9f956df2802f3
Author:     Hans Petter Selasky <hsela...@freebsd.org>
AuthorDate: 2021-05-21 08:22:13 +0000
Commit:     Hans Petter Selasky <hsela...@freebsd.org>
CommitDate: 2021-05-21 09:21:32 +0000

    Properly define EPOCH(9) function macro.
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   Mellanox Technologies // NVIDIA Networking
---
 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 210cf78d55f0..c5e4b78d8b79 100644
--- a/sys/kern/subr_epoch.c
+++ b/sys/kern/subr_epoch.c
@@ -870,7 +870,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
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to