diff options
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-core/drm_memory.c b/bsd-core/drm_memory.c index af8736c1..c871274e 100644 --- a/bsd-core/drm_memory.c +++ b/bsd-core/drm_memory.c @@ -126,6 +126,7 @@ int DRM(unbind_agp)(agp_memory *handle) } #endif /* __REALLY_HAVE_AGP */ +#if __REALLY_HAVE_MTRR #ifdef __FreeBSD__ int DRM(mtrr_add)(unsigned long offset, size_t size, int flags) @@ -181,5 +182,6 @@ DRM(mtrr_del)(unsigned long offset, size_t size, int flags) return mtrr_set(&mtrrmap, &one, NULL, MTRR_GETSET_KERNEL); } #endif +#endif /* __REALLY_HAVE_MTRR */ #endif /* DEBUG_MEMORY */ |