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/gt i915: Ifdef out stash...
details: https://anonhg.NetBSD.org/src/rev/067ef8213180
branches: trunk
changeset: 1028715:067ef8213180
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:50:39 2021 +0000
description:
i915: Ifdef out stash_init use just like def
diffstat:
sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 699080f7c457 -r 067ef8213180 sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c
--- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c Sun Dec 19 11:50:31 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c Sun Dec 19 11:50:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_ggtt.c,v 1.7 2021/12/19 11:39:55 riastradh Exp $ */
+/* $NetBSD: intel_ggtt.c,v 1.8 2021/12/19 11:50:39 riastradh Exp $ */
// SPDX-License-Identifier: MIT
/*
@@ -6,7 +6,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_ggtt.c,v 1.7 2021/12/19 11:39:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_ggtt.c,v 1.8 2021/12/19 11:50:39 riastradh Exp $");
#include <linux/stop_machine.h>
@@ -100,7 +100,9 @@
{
int ret;
+#ifndef __NetBSD__
stash_init(&i915->mm.wc_stash);
+#endif
/*
* Note that we use page colouring to enforce a guard page at the
Home |
Main Index |
Thread Index |
Old Index