From 2fbd4bf0189cf6d421000c7eea85fee3b9c79ed0 Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Tue, 13 Jun 2000 14:34:13 +0000 Subject: Unify code with kernel: Change some spacing in comments Add #include to all *_drv.c files --- linux/drmP.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'linux/drmP.h') diff --git a/linux/drmP.h b/linux/drmP.h index 350d1ef9..9ad83bde 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -33,6 +33,7 @@ #define _DRM_P_H_ #ifdef __KERNEL__ +#include #include #include #include @@ -129,7 +130,6 @@ typedef struct wait_queue *wait_queue_head_t; #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. */ @@ -163,10 +163,6 @@ static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, #define cmpxchg(ptr,o,n) \ ((__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 */ -- cgit v1.2.3