#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
+#include <linux/time.h>
#include <asm/errno.h>
#include <asm/io.h>
#ifdef __HAVE_ARCH_CMPXCHG
#define CAN_HAVE_ARCH_CMPXCHG
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
+ #define CAN_HAVE_ATOMIC_CMPXCHG
+ #endif
#endif
#ifndef CAN_WITH_RTL