Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Alias MTYPE__Bool for MT...



details:   https://anonhg.NetBSD.org/src/rev/e43087bab94b
branches:  trunk
changeset: 1028043:e43087bab94b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:43:12 2021 +0000

description:
Alias MTYPE__Bool for MTYPE_bool because of cpp expansion.

diffstat:

 sys/external/bsd/drm2/include/linux/moduleparam.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r e105a8c035d9 -r e43087bab94b sys/external/bsd/drm2/include/linux/moduleparam.h
--- a/sys/external/bsd/drm2/include/linux/moduleparam.h Sun Dec 19 01:43:04 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/moduleparam.h Sun Dec 19 01:43:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: moduleparam.h,v 1.8 2018/08/27 13:57:24 riastradh Exp $        */
+/*     $NetBSD: moduleparam.h,v 1.9 2021/12/19 01:43:12 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -47,6 +47,12 @@
 #define MTYPE_charp    2
 #define MTYPE_uint     3
 
+/*
+ * In case of accidental cpp expansion, break glass to raise alarm and
+ * reach antizombie chainsaw.
+ */
+#define        MTYPE__Bool     MTYPE_bool
+
 #define        module_param_named(NAME, VAR, TYPE, MODE) \
 static __attribute__((__used__)) struct linux_module_param_info info_ ## NAME = { \
        .dname = # NAME, \



Home | Main Index | Thread Index | Old Index