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/dist/uapi/drm Kludgily define __user i...



details:   https://anonhg.NetBSD.org/src/rev/c98b2576a2ec
branches:  trunk
changeset: 802495:c98b2576a2ec
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Sep 17 16:10:41 2014 +0000

description:
Kludgily define __user in kernel here too.

diffstat:

 sys/external/bsd/drm2/dist/uapi/drm/drm.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 439748f4dfbf -r c98b2576a2ec sys/external/bsd/drm2/dist/uapi/drm/drm.h
--- a/sys/external/bsd/drm2/dist/uapi/drm/drm.h Wed Sep 17 15:59:53 2014 +0000
+++ b/sys/external/bsd/drm2/dist/uapi/drm/drm.h Wed Sep 17 16:10:41 2014 +0000
@@ -62,11 +62,11 @@
 typedef uint32_t __u32;
 typedef int64_t  __s64;
 typedef uint64_t __u64;
+#endif
 #  ifndef __user
 #    define    __user
 #  endif
 #endif
-#endif
 
 #define DRM_NAME       "drm"     /**< Name in kernel, /dev, and /proc */
 #define DRM_MIN_ORDER  5         /**< At least 2^5 bytes = 32 bytes */



Home | Main Index | Thread Index | Old Index