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/afb8a5206a7a
branches:  trunk
changeset: 835297:afb8a5206a7a
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 5b6b51e2a45f -r afb8a5206a7a 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