diff --git a/Driver/enhanceio/eio_conf.c b/Driver/enhanceio/eio_conf.c index cabf236..96b2e8c 100644 --- a/Driver/enhanceio/eio_conf.c +++ b/Driver/enhanceio/eio_conf.c @@ -101,7 +101,7 @@ int eio_wait_schedule(void *unused) return 0; } -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)) && !defined(smp_mb__after_atomic) #define smp_mb__after_atomic smp_mb__after_clear_bit #endif diff --git a/Driver/enhanceio/eio_ttc.c b/Driver/enhanceio/eio_ttc.c index 078bbc3..d701aad 100644 --- a/Driver/enhanceio/eio_ttc.c +++ b/Driver/enhanceio/eio_ttc.c @@ -36,7 +36,7 @@ #define wait_on_bit_lock_action wait_on_bit_lock #endif -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)) && !defined(smp_mb__after_atomic) #define smp_mb__after_atomic smp_mb__after_clear_bit #endif