Module Name: src
Committed By: riastradh
Date: Tue Oct 25 23:33:18 UTC 2022
Modified Files:
src/sys/external/bsd/drm2/include/asm: io.h
Log Message:
linux asm/io.h: Side-load linux/vmalloc.h like Linux does.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm2/include/asm/io.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/asm/io.h
diff -u src/sys/external/bsd/drm2/include/asm/io.h:1.9 src/sys/external/bsd/drm2/include/asm/io.h:1.10
--- src/sys/external/bsd/drm2/include/asm/io.h:1.9 Mon Feb 14 00:28:33 2022
+++ src/sys/external/bsd/drm2/include/asm/io.h Tue Oct 25 23:33:18 2022
@@ -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))