Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:40:20 UTC 2021
Modified Files:
src/sys/external/bsd/common/include/linux: kernel.h
Log Message:
DEFINE_STATIC_KEY_FALSE
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/external/bsd/common/include/linux/kernel.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/common/include/linux/kernel.h
diff -u src/sys/external/bsd/common/include/linux/kernel.h:1.36 src/sys/external/bsd/common/include/linux/kernel.h:1.37
--- src/sys/external/bsd/common/include/linux/kernel.h:1.36 Sun Dec 19 01:39:12 2021
+++ src/sys/external/bsd/common/include/linux/kernel.h Sun Dec 19 01:40:20 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.36 2021/12/19 01:39:12 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.37 2021/12/19 01:40:20 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -83,6 +83,8 @@
#define might_sleep ASSERT_SLEEPABLE
+#define DEFINE_STATIC_KEY_FALSE(N) bool N __unused = false
+
/*
* XXX Linux kludge to work around GCC uninitialized variable warning.
* Linux does `x = x', which is bollocks.