Module Name: src Committed By: riastradh Date: Mon Aug 27 15:12:09 UTC 2018
Modified Files: src/sys/external/bsd/drm2/include/drm: drm_os_netbsd.h Log Message: opt_mtrr.h is x86-only. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 \ src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h diff -u src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h:1.10 src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h:1.11 --- src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h:1.10 Mon Aug 27 13:53:09 2018 +++ src/sys/external/bsd/drm2/include/drm/drm_os_netbsd.h Mon Aug 27 15:12:09 2018 @@ -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