patch-2.3.32 linux/drivers/char/drm/drmP.h
Next file: linux/drivers/char/drm/fops.c
Previous file: linux/drivers/char/busmouse.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Dec 14 00:55:06 1999
- Orig file:
v2.3.31/linux/drivers/char/drm/drmP.h
- Orig date:
Wed Dec 8 14:11:25 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/char/drm/drmP.h linux/drivers/char/drm/drmP.h
@@ -116,7 +116,6 @@
#endif
/* Generic cmpxchg added in 2.3.x */
-#if CPU != 386
#ifndef __HAVE_ARCH_CMPXCHG
/* Include this here so that driver can be
used with older kernels. */
@@ -151,10 +150,6 @@
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o), \
(unsigned long)(n),sizeof(*(ptr))))
#endif
-#else
- /* Compiling for a 386 proper... */
-#error DRI not supported on Intel 80386
-#endif
/* Macros to make printk easier */
#define DRM_ERROR(fmt, arg...) \
@@ -468,6 +463,7 @@
/* Misc. support (init.c) */
extern int drm_flags;
extern void drm_parse_options(char *s);
+extern int drm_cpu_valid(void);
/* Device support (fops.c) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)