summaryrefslogtreecommitdiff
path: root/sub/kernel/noobjtool.patch
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-10 00:23:55 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-10 00:23:55 +0000
commit4c062a90a472644ac5627f3c1474da1b167c4206 (patch)
treec52d336bc9235e487cd2a7007d763bd774fb8ab8 /sub/kernel/noobjtool.patch
parentb796ef65d0e07ae86c34567d3913bfd81d506210 (diff)
downloadlh-bootstrap-4c062a90a472644ac5627f3c1474da1b167c4206.tar.xz
Update bb and kernel configs
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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