diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-07-06 00:25:19 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-07-06 00:25:19 +0000 |
commit | eaccc05b267670a0934675064e37bbd590e1028e (patch) | |
tree | e5be2fc4795805823ad9a5f4c48469b520865a06 /bsd | |
parent | 694291fbd39e0e6ad9a9698794485003648c7fd0 (diff) |
Fix module loading on alpha by not referencing MTRR symbols on
!__REALLY_HAVE_MTRR.
Diffstat (limited to 'bsd')
-rw-r--r-- | bsd/drm_memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd/drm_memory.h b/bsd/drm_memory.h index af8736c1..c871274e 100644 --- a/bsd/drm_memory.h +++ b/bsd/drm_memory.h @@ -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 */ |