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 side-load linux/uaccess....



details:   https://anonhg.NetBSD.org/src/rev/f5eb8dfd7161
branches:  trunk
changeset: 1028405:f5eb8dfd7161
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:58:11 2021 +0000

description:
side-load linux/uaccess.h for copy_to/from_user

diffstat:

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

diffs (18 lines):

diff -r 92e026614f2d -r f5eb8dfd7161 sys/external/bsd/drm2/include/linux/pagemap.h
--- a/sys/external/bsd/drm2/include/linux/pagemap.h     Sun Dec 19 10:58:04 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/pagemap.h     Sun Dec 19 10:58:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pagemap.h,v 1.3 2014/08/23 08:03:33 riastradh Exp $    */
+/*     $NetBSD: pagemap.h,v 1.4 2021/12/19 10:58:11 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -34,6 +34,8 @@
 
 #include <sys/types.h>
 
+#include <linux/uaccess.h>
+
 static inline int
 fault_in_multipages_readable(const char *uaddr __unused, size_t len __unused)
 {



Home | Main Index | Thread Index | Old Index