From 317043010879767bc6a3bef6cbec0c5f300d1ce0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 19 Oct 2020 13:54:31 +0300 Subject: sys: update to 6.8 --- sys/sys/smr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/sys/smr.h') diff --git a/sys/sys/smr.h b/sys/sys/smr.h index 1ca42e0..b15689a 100644 --- a/sys/sys/smr.h +++ b/sys/sys/smr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smr.h,v 1.6 2020/04/12 07:20:33 visa Exp $ */ +/* $OpenBSD: smr.h,v 1.7 2020/06/17 14:12:19 visa Exp $ */ /* * Copyright (c) 2019 Visa Hankala @@ -67,6 +67,8 @@ smr_init(struct smr_entry *smr) #define SMR_ASSERT_NONCRITICAL() do {} while (0) #endif +#endif /* _KERNEL */ + #define SMR_PTR_GET(pptr) READ_ONCE(*pptr) #define SMR_PTR_GET_LOCKED(pptr) (*(pptr)) @@ -435,6 +437,4 @@ struct { \ * any concurrent readers to proceed iteration. */ \ } while (0) -#endif /* _KERNEL */ - #endif /* !_SYS_SMR_ */ -- cgit v1.2.3