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 Define module_param and ...
details: https://anonhg.NetBSD.org/src/rev/d3115ec1adf2
branches: trunk
changeset: 992521:d3115ec1adf2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 06:52:58 2018 +0000
description:
Define module_param and module_param_unsafe.
diffstat:
sys/external/bsd/drm2/include/linux/moduleparam.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ef14eb3a8b69 -r d3115ec1adf2 sys/external/bsd/drm2/include/linux/moduleparam.h
--- a/sys/external/bsd/drm2/include/linux/moduleparam.h Mon Aug 27 06:52:45 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/moduleparam.h Mon Aug 27 06:52:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: moduleparam.h,v 1.5 2015/02/25 14:00:52 riastradh Exp $ */
+/* $NetBSD: moduleparam.h,v 1.6 2018/08/27 06:52:58 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -56,4 +56,7 @@
}; \
__link_set_add_data(linux_module_param_info, info_ ## NAME)
+#define module_param(VAR, TYPE, MODE) module_param_named(VAR, VAR, TYPE, MODE)
+#define module_param_unsafe module_param
+
#endif /* _LINUX_MODULEPARAM_H_ */
Home |
Main Index |
Thread Index |
Old Index