From 62f4344c98b72535df88a5a3d577c1df314e4f9b Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 2 Mar 2009 22:35:23 +0200 Subject: drm: drop Linux < 2.6.16 support Signed-off-by: Pekka Paalanen --- linux-core/drm_compat.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'linux-core/drm_compat.h') diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h index d265ad12..7763da34 100644 --- a/linux-core/drm_compat.h +++ b/linux-core/drm_compat.h @@ -107,16 +107,6 @@ #define IRQF_SHARED SA_SHIRQ #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) -#define mutex_lock down -#define mutex_unlock up - -#define mutex semaphore - -#define mutex_init(a) sema_init((a), 1) - -#endif - #ifndef DEFINE_SPINLOCK #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED #endif -- cgit v1.2.3