patch-2.4.0-test2 linux/drivers/char/drm/init.c
Next file: linux/drivers/char/drm/proc.c
Previous file: linux/drivers/char/drm/fops.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jun 21 10:10:02 2000
- Orig file:
v2.4.0-test1/linux/drivers/char/drm/init.c
- Orig date:
Tue Mar 14 19:10:39 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/drm/init.c linux/drivers/char/drm/init.c
@@ -104,5 +104,9 @@
#if defined(__i386__)
if (boot_cpu_data.x86 == 3) return 0; /* No cmpxchg on a 386 */
#endif
+#if defined(__sparc__) && !defined(__sparc_v9__)
+ if (1)
+ return 0; /* No cmpxchg before v9 sparc. */
+#endif
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)