diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-10-24 00:59:31 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-10-24 00:59:31 +0000 |
commit | 451a1d3f69a8d19c24382ef2b483517e9ef2c9f6 (patch) | |
tree | 3b5bf9dcd7695b670016764450f9d591cf6fef0d | |
parent | b79d1b341f876c982c1cde02e8aff6c675688b49 (diff) |
Move the REALLY_HAVE_AGP endif above the mtrr functions. Broke tdfx module.
-rw-r--r-- | bsd-core/drm_memory.c | 2 | ||||
-rw-r--r-- | bsd/drm_memory.h | 2 |
2 files changed, 2 insertions, 2 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 */ diff --git a/bsd/drm_memory.h b/bsd/drm_memory.h index a50e6c47..af8736c1 100644 --- a/bsd/drm_memory.h +++ b/bsd/drm_memory.h @@ -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 */ |