diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 09715c993..7a0480a97 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -124,7 +124,7 @@ function specialize_patch { fi ;; UEK) - ao=(-v UEK_KABI_RENAME=1 -v UEK_RELEASE=${releasevermajor}) + ao=(-v UEK_KABI_RENAME=1) ;; esac local kver3 diff --git a/scripts/specialize-patch b/scripts/specialize-patch index e5f508afd..30d55c905 100755 --- a/scripts/specialize-patch +++ b/scripts/specialize-patch @@ -252,8 +252,6 @@ function evaluate(stmnt, pattern, arg, op, result) { gsub("defined\\(_COMPAT_LINUX_MM_H\\)", "0", stmnt) gsub("defined\\(UEK_KABI_RENAME\\)", UEK_KABI_RENAME ? "1" : "0", stmnt) - gsub("defined\\(UEK_RELEASE\\)", UEK_RELEASE ? "1" : "0", stmnt) - gsub("UEK_RELEASE", UEK_RELEASE ? UEK_RELEASE : "0", stmnt) if (SCST_IO_CONTEXT != "") { @@ -460,7 +458,6 @@ function handle_if(evaluated) || $0 ~ "RHEL_RELEASE_CODE" \ || $0 ~ "SOCK_RECVMSG_HAS_FOUR_ARGS" \ || $0 ~ "UEK_KABI_RENAME" \ - || $0 ~ "UEK_RELEASE" \ || $0 ~ "USE_PRE_440_WR_STRUCTURE" \ || $0 ~ "_COMPAT_LINUX_MM_H" \ || $0 ~ "bio_multiple_segments" \