From 931c9ae9719b94bd8450c5a1a0f2cdb6ee956ed5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 3 Sep 2014 13:44:53 +0000 Subject: [PATCH] scst.h: RHEL 5.10 build fix (merge r5758 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5759 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 3491b456c..9f1804d2e 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -4797,7 +4797,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