summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/drm_init.h')
-rw-r--r--sys/dev/drm/drm_init.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/drm/drm_init.h b/sys/dev/drm/drm_init.h
index 3839432..432225f 100644
--- a/sys/dev/drm/drm_init.h
+++ b/sys/dev/drm/drm_init.h
@@ -31,7 +31,6 @@
* $FreeBSD$
*/
-#define __NO_VERSION__
#include "dev/drm/drmP.h"
#if 1 && DRM_DEBUG_CODE
@@ -108,13 +107,5 @@ void DRM(parse_options)(char *s)
*/
int DRM(cpu_valid)(void)
{
-#ifdef __linux__
-#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
-#endif /* __linux__ */
return 1;
}
OpenPOWER on IntegriCloud