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 Add a copy of __user (em...



details:   https://anonhg.NetBSD.org/src/rev/c83dcef49399
branches:  trunk
changeset: 992915:c83dcef49399
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:57:11 2018 +0000

description:
Add a copy of __user (empty) to <linux/types.h> for expedience.

diffstat:

 sys/external/bsd/drm2/include/linux/types.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 29cbb8fc1751 -r c83dcef49399 sys/external/bsd/drm2/include/linux/types.h
--- a/sys/external/bsd/drm2/include/linux/types.h       Mon Aug 27 13:56:58 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/types.h       Mon Aug 27 13:57:11 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.8 2018/08/27 13:31:36 riastradh Exp $      */
+/*     $NetBSD: types.h,v 1.9 2018/08/27 13:57:11 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -92,4 +92,7 @@
        unsigned long NAME[((BITS) + ((NBBY*sizeof(unsigned long)) - 1)) /    \
                (NBBY*sizeof(unsigned long))]
 
+/* Definition copied in <linux/kernel.h> for convenience.  */
+#define        __user
+
 #endif  /* _LINUX_TYPES_H_ */



Home | Main Index | Thread Index | Old Index