diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-09-16 12:25:33 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-09-16 12:44:50 +0200 |
commit | 96c582bc1be4f73c8f3e6a5c599ca2371021e4e8 (patch) | |
tree | 5df943c681e3ebefc5cbcea904813ea44437d3c9 | |
parent | c9ee3fd975fef81c7151366de1e22124e1821770 (diff) | |
download | kernel-96c582bc1be4f73c8f3e6a5c599ca2371021e4e8.tar.gz kernel-96c582bc1be4f73c8f3e6a5c599ca2371021e4e8.tar.xz kernel-96c582bc1be4f73c8f3e6a5c599ca2371021e4e8.zip |
add patch from https://lore.kernel.org/all/20220906132826.180891759@linuxfoundation.org/kernel-5.19.9-350.vanilla.1.fc37
-rw-r--r-- | dwarves.patch | 12 | ||||
-rwxr-xr-x | kernel.spec | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/dwarves.patch b/dwarves.patch new file mode 100644 index 000000000..589b22a48 --- /dev/null +++ b/dwarves.patch @@ -0,0 +1,12 @@ +/scripts/pahole-flags.sh ++++ b/scripts/pahole-flags.sh +@@ -17,4 +17,8 @@ if [ "${pahole_ver}" -ge "121" ]; then + extra_paholeopt="${extra_paholeopt} --btf_gen_floats" + fi + ++if [ "${pahole_ver}" -ge "124" ]; then ++ extra_paholeopt="${extra_paholeopt} --skip_encoding_btf_enum64" ++fi ++ + echo ${extra_paholeopt} + diff --git a/kernel.spec b/kernel.spec index ca3ad5be9..303f36b19 100755 --- a/kernel.spec +++ b/kernel.spec @@ -865,6 +865,8 @@ Source4002: gating.yaml Patch1: patch-%{patchversion}-redhat.patch %endif +Patch2: dwarves.patch + # empty final patch to facilitate testing of kernel patches Patch999999: linux-kernel-test.patch @@ -1438,6 +1440,8 @@ cd linux-%{KVERREL} ApplyOptionalPatch patch-%{patchversion}-redhat.patch %endif +ApplyOptionalPatch dwarves.patch + ApplyOptionalPatch linux-kernel-test.patch # END OF PATCH APPLICATIONS |