summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-24 00:59:31 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-24 00:59:31 +0000
commit451a1d3f69a8d19c24382ef2b483517e9ef2c9f6 (patch)
tree3b5bf9dcd7695b670016764450f9d591cf6fef0d /bsd-core
parentb79d1b341f876c982c1cde02e8aff6c675688b49 (diff)
Move the REALLY_HAVE_AGP endif above the mtrr functions. Broke tdfx module.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_memory.c b/bsd-core/drm_memory.c
index a50e6c47..af8736c1 100644
--- a/bsd-core/drm_memory.c
+++ b/bsd-core/drm_memory.c
@@ -124,6 +124,7 @@ int DRM(unbind_agp)(agp_memory *handle)
{
return DRM(agp_unbind_memory)(handle);
}
+#endif /* __REALLY_HAVE_AGP */
#ifdef __FreeBSD__
int
@@ -181,5 +182,4 @@ DRM(mtrr_del)(unsigned long offset, size_t size, int flags)
}
#endif
-#endif /* __REALLY_HAVE_AGP */
#endif /* DEBUG_MEMORY */