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
This commit is contained in:
Bart Van Assche
2012-06-15 08:13:05 +00:00
parent a3d6a271db
commit a8a8777acb

View File

@@ -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