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/24e33a26699f
branches:  trunk
changeset: 835471:24e33a26699f
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 6b2b9dd961b7 -r 24e33a26699f 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