Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/common/include/linux DEFINE_STATIC_KEY_FALSE
details: https://anonhg.NetBSD.org/src/rev/8d5cb5d9ce3d
branches: trunk
changeset: 1028023:8d5cb5d9ce3d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:40:20 2021 +0000
description:
DEFINE_STATIC_KEY_FALSE
diffstat:
sys/external/bsd/common/include/linux/kernel.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r e74cc496bf34 -r 8d5cb5d9ce3d sys/external/bsd/common/include/linux/kernel.h
--- a/sys/external/bsd/common/include/linux/kernel.h Sun Dec 19 01:40:12 2021 +0000
+++ b/sys/external/bsd/common/include/linux/kernel.h Sun Dec 19 01:40:20 2021 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index