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/drm opt_mtrr.h is x86-only.



details:   https://anonhg.NetBSD.org/src/rev/5f1ba43630df
branches:  trunk
changeset: 366390:5f1ba43630df
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 15:12:09 2018 +0000

description:
opt_mtrr.h is x86-only.

diffstat:

 sys/external/bsd/drm2/include/drm/drm_os_netbsd.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 094e0fcf1b44 -r 5f1ba43630df sys/external/bsd/drm2/include/drm/drm_os_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 15:11:58 2018 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 15:12:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_os_netbsd.h,v 1.10 2018/08/27 13:53:09 riastradh Exp $     */
+/*     $NetBSD: drm_os_netbsd.h,v 1.11 2018/08/27 15:12:09 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -57,9 +57,11 @@
 #define CONFIG_PNP
 #endif
 
+#if defined(__i386__) || defined(__x86_64__)
 #if defined(_KERNEL_OPT)
 #include "opt_mtrr.h"
 #endif
+#endif
 
 #ifdef MTRR
 #define        CONFIG_MTRR     1



Home | Main Index | Thread Index | Old Index