scst.h: RHEL 5.10 build fix

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5758 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-09-03 13:43:23 +00:00
parent 9249ca5414
commit 2cd5fb04fd

View File

@@ -4850,7 +4850,8 @@ int scst_scsi_exec_async(struct scst_cmd *cmd, void *data,
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 37) && \
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 6 || \
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 5 || \
RHEL_MAJOR -0 == 5 && RHEL_MINOR -0 < 10 || \
RHEL_MAJOR -0 == 6 && RHEL_MINOR -0 < 1)
/*
* See also patch "mm: add vzalloc() and vzalloc_node() helpers" (commit