summaryrefslogtreecommitdiff
path: root/sub/kernel/noobjtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sub/kernel/noobjtool.patch')
-rw-r--r--sub/kernel/noobjtool.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sub/kernel/noobjtool.patch b/sub/kernel/noobjtool.patch
new file mode 100644
index 0000000..107aeaa
--- /dev/null
+++ b/sub/kernel/noobjtool.patch
@@ -0,0 +1,12 @@
+diff -rNU3 linux-6.0.3.old/arch/x86/Kconfig linux-6.0.3/arch/x86/Kconfig
+--- linux-6.0.3.old/arch/x86/Kconfig 2022-10-21 10:39:29.000000000 +0000
++++ linux-6.0.3/arch/x86/Kconfig 2022-10-25 10:22:33.003260831 +0000
+@@ -234,7 +234,7 @@
+ select HAVE_NOINSTR_HACK if HAVE_OBJTOOL
+ select HAVE_NMI
+ select HAVE_NOINSTR_VALIDATION if HAVE_OBJTOOL
+- select HAVE_OBJTOOL if X86_64
++# select HAVE_OBJTOOL if X86_64
+ select HAVE_OPTPROBES
+ select HAVE_PCSPKR_PLATFORM
+ select HAVE_PERF_EVENTS