From 451a1d3f69a8d19c24382ef2b483517e9ef2c9f6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 24 Oct 2003 00:59:31 +0000 Subject: Move the REALLY_HAVE_AGP endif above the mtrr functions. Broke tdfx module. --- bsd-core/drm_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-core/drm_memory.c') 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 */ -- cgit v1.2.3