From a8a8777acbcba0205196b826f81ac233a88db194 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 15 Jun 2012 08:13:05 +0000 Subject: [PATCH] scst: Kernel 2.6.32 build fix git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4351 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_const.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst_const.h b/scst/include/scst_const.h index 900bb4ea8..be467671d 100644 --- a/scst/include/scst_const.h +++ b/scst/include/scst_const.h @@ -320,7 +320,7 @@ enum scst_cdb_flags { #define SAI_READ_CAPACITY_16 0x10 #endif #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 32) #ifndef SAI_GET_LBA_STATUS #define SAI_GET_LBA_STATUS 0x12 #endif