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/asm linux asm/io.h: Side-load ...



details:   https://anonhg.NetBSD.org/src/rev/07de8d3b9a25
branches:  trunk
changeset: 372019:07de8d3b9a25
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Oct 25 23:33:18 2022 +0000

description:
linux asm/io.h: Side-load linux/vmalloc.h like Linux does.

diffstat:

 sys/external/bsd/drm2/include/asm/io.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f78589179048 -r 07de8d3b9a25 sys/external/bsd/drm2/include/asm/io.h
--- a/sys/external/bsd/drm2/include/asm/io.h    Tue Oct 25 23:32:37 2022 +0000
+++ b/sys/external/bsd/drm2/include/asm/io.h    Tue Oct 25 23:33:18 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.h,v 1.9 2022/02/14 00:28:33 riastradh Exp $ */
+/*     $NetBSD: io.h,v 1.10 2022/10/25 23:33:18 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -36,6 +36,7 @@
 #include <sys/systm.h>
 
 #include <linux/string.h>
+#include <linux/vmalloc.h>
 
 #define        memcpy_fromio(d,s,n)    memcpy((d),__UNVOLATILE(s),(n))
 #define        memcpy_toio(d,s,n)      memcpy(__UNVOLATILE(d),(s),(n))



Home | Main Index | Thread Index | Old Index