aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_init.c')
-rw-r--r--drivers/char/drm/drm_init.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_init.c b/drivers/char/drm/drm_init.c
index 62883b749e97..754b934715c4 100644
--- a/drivers/char/drm/drm_init.c
+++ b/drivers/char/drm/drm_init.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * \file drm_init.h 2 * \file drm_init.c
3 * Setup/Cleanup for DRM 3 * Setup/Cleanup for DRM
4 * 4 *
5 * \author Rickard E. (Rik) Faith <faith@valinux.com> 5 * \author Rickard E. (Rik) Faith <faith@valinux.com>
@@ -43,10 +43,11 @@
43int drm_cpu_valid(void) 43int drm_cpu_valid(void)
44{ 44{
45#if defined(__i386__) 45#if defined(__i386__)
46 if (boot_cpu_data.x86 == 3) return 0; /* No cmpxchg on a 386 */ 46 if (boot_cpu_data.x86 == 3)
47 return 0; /* No cmpxchg on a 386 */
47#endif 48#endif
48#if defined(__sparc__) && !defined(__sparc_v9__) 49#if defined(__sparc__) && !defined(__sparc_v9__)
49 return 0; /* No cmpxchg before v9 sparc. */ 50 return 0; /* No cmpxchg before v9 sparc. */
50#endif 51#endif
51 return 1; 52 return 1;
52} 53}