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/drm/i915 Define __iomem to nothin...
details: https://anonhg.NetBSD.org/src/rev/c37ca3f3ff6c
branches: trunk
changeset: 1028504:c37ca3f3ff6c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:12:06 2021 +0000
description:
Define __iomem to nothing for this one function. (Somewhat overkill..)
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_vma.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r d8eb0a9a97cf -r c37ca3f3ff6c sys/external/bsd/drm2/dist/drm/i915/i915_vma.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_vma.h Sun Dec 19 11:11:59 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_vma.h Sun Dec 19 11:12:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_vma.h,v 1.4 2021/12/19 11:11:59 riastradh Exp $ */
+/* $NetBSD: i915_vma.h,v 1.5 2021/12/19 11:12:06 riastradh Exp $ */
/*
* Copyright © 2016 Intel Corporation
@@ -297,7 +297,14 @@
*
* Returns a valid iomapped pointer or ERR_PTR.
*/
+#ifdef __NetBSD__
+# define __iomem __i915_vma_iomem
+#endif
void __iomem *i915_vma_pin_iomap(struct i915_vma *vma);
+#ifdef __NetBSD__
+# undef __iomem
+#endif
+
#define IO_ERR_PTR(x) ((void __iomem *)ERR_PTR(x))
/**
Home |
Main Index |
Thread Index |
Old Index