From bcd527ee71043478d27ec3e5b611c9f34bf4f191 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 04:50:07 +0000 Subject: Remove a bunch of dead code and fix spelling of a couple of comments. --- bsd-core/drm_os_freebsd.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bsd-core/drm_os_freebsd.h') diff --git a/bsd-core/drm_os_freebsd.h b/bsd-core/drm_os_freebsd.h index 4168fce1..41cd0804 100644 --- a/bsd-core/drm_os_freebsd.h +++ b/bsd-core/drm_os_freebsd.h @@ -218,7 +218,7 @@ while (!condition) { \ #endif #define malloctype DRM(M_DRM) -/* The macros confliced in the MALLOC_DEFINE */ +/* The macros conflicted in the MALLOC_DEFINE */ MALLOC_DECLARE(malloctype); #undef malloctype @@ -317,10 +317,8 @@ find_first_zero_bit(volatile void *p, int max) * exist. */ #if (__FreeBSD_version < 500002 && __FreeBSD_version > 500000) || __FreeBSD_version < 420000 -/* FIXME: again, what's the exact date? */ #define MODULE_VERSION(a,b) struct __hack #define MODULE_DEPEND(a,b,c,d,e) struct __hack - #endif /* Redefinitions to make templating easy */ @@ -346,8 +344,6 @@ find_first_zero_bit(volatile void *p, int max) #define DRM_DEBUG(fmt, arg...) do { } while (0) #endif -#define DRM_PROC_LIMIT (PAGE_SIZE-80) - #if (__FreeBSD_version >= 500000) || ((__FreeBSD_version < 500000) && (__FreeBSD_version >= 410002)) #define DRM_SYSCTL_HANDLER_ARGS (SYSCTL_HANDLER_ARGS) #else -- cgit v1.2.3