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/drm machine/cpufunc.h is MD, move it t...
details: https://anonhg.NetBSD.org/src/rev/d33cb30b3954
branches: trunk
changeset: 811208:d33cb30b3954
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Oct 17 15:13:19 2015 +0000
description:
machine/cpufunc.h is MD, move it to i386/amd64 block
diffstat:
sys/external/bsd/drm2/drm/drm_cache.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r e850bb78dc85 -r d33cb30b3954 sys/external/bsd/drm2/drm/drm_cache.c
--- a/sys/external/bsd/drm2/drm/drm_cache.c Sat Oct 17 15:02:55 2015 +0000
+++ b/sys/external/bsd/drm2/drm/drm_cache.c Sat Oct 17 15:13:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_cache.c,v 1.6 2015/03/06 12:24:36 riastradh Exp $ */
+/* $NetBSD: drm_cache.c,v 1.7 2015/10/17 15:13:19 jmcneill Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,15 +30,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_cache.c,v 1.6 2015/03/06 12:24:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_cache.c,v 1.7 2015/10/17 15:13:19 jmcneill Exp $");
#include <sys/types.h>
#include <sys/xcall.h>
#include <uvm/uvm_extern.h>
-#include <machine/cpufunc.h>
-
#include <linux/mm_types.h>
#include <drm/drmP.h>
@@ -97,6 +95,8 @@
#if defined(__i386__) || defined(__x86_64__)
+#include <machine/cpufunc.h>
+
static bool
drm_md_clflush_finegrained_p(void)
{
Home |
Main Index |
Thread Index |
Old Index