Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lnocturno committed Jan 10, 2024
1 parent 29812d7 commit 855dee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/specialize-patch
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ function evaluate(stmnt, pattern, arg, op, result) {

gsub("defined\\(IB_CM_LISTEN_TAKES_THIRD_ARG\\)",
"(LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0) \\&\\& " \
" !(RHEL_MAJOR -0 == 8 && RHEL_MINOR -0 >= 9 || " \
" RHEL_MAJOR -0 == 9 && RHEL_MINOR -0 >= 3))", stmnt)
"!(RHEL_MAJOR -0 == 8 \\&\\& RHEL_MINOR -0 >= 9 || " \
"RHEL_MAJOR -0 == 9 \\&\\& RHEL_MINOR -0 >= 3))", stmnt)

gsub("IB_CLIENT_ADD_ONE_RETURNS_INT",
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || " \
Expand Down

0 comments on commit 855dee9

Please sign in to comment.