From 91aa32742c49db0c553b5836afd28c8ea2436014 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Fri, 15 Oct 2004 20:36:15 +0000 Subject: Move drm_cpu_valid out of drm_init. drm_init is empty now. --- linux-core/drm_init.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'linux-core/drm_init.c') diff --git a/linux-core/drm_init.c b/linux-core/drm_init.c index 0d3c1d88..2f04e264 100644 --- a/linux-core/drm_init.c +++ b/linux-core/drm_init.c @@ -35,19 +35,3 @@ #include "drmP.h" -/** - * Check whether DRI will run on this CPU. - * - * \return non-zero if the DRI will run on this CPU, or zero otherwise. - */ -int drm_cpu_valid(void) -{ -#if defined(__i386__) - if (boot_cpu_data.x86 == 3) - return 0; /* No cmpxchg on a 386 */ -#endif -#if defined(__sparc__) && !defined(__sparc_v9__) - return 0; /* No cmpxchg before v9 sparc. */ -#endif - return 1; -} -- cgit v1.2.3