mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/specialize-patch: Add support for HAVE_STRUCT_SRP_LOGIN_REQ_RDMA
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7384 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -93,6 +93,9 @@ function evaluate(stmnt, pattern, arg, op, result) {
|
||||
gsub("HAVE_RDMA_DESTROY_AH",
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))", stmnt)
|
||||
|
||||
gsub("HAVE_STRUCT_SRP_LOGIN_REQ_RDMA",
|
||||
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0))", stmnt)
|
||||
|
||||
gsub("defined\\(USE_PRE_440_WR_STRUCTURE\\)",
|
||||
"(LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0))", stmnt)
|
||||
|
||||
@@ -341,6 +344,7 @@ function handle_if(evaluated)
|
||||
|| $0 ~ "HAVE_IB_QUERY_DEVICE" \
|
||||
|| $0 ~ "HAVE_IB_SET_CPI_RESP_TIME" \
|
||||
|| $0 ~ "HAVE_RDMA_DESTROY_AH" \
|
||||
|| $0 ~ "HAVE_STRUCT_SRP_LOGIN_REQ_RDMA" \
|
||||
|| $0 ~ "IB_CLIENT_REMOVE_TAKES_TWO_ARGS" \
|
||||
|| $0 ~ "IB_CM_LISTEN_TAKES_FOURTH_ARG" \
|
||||
|| $0 ~ "IB_CREATE_CQ_HAS_INIT_ATTR" \
|
||||
|
||||
Reference in New Issue
Block a user