From f3ffb04a43465dbe06ffb22e0a9d228b8b1ad0a2 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sat, 2 Apr 2022 23:41:27 +0300 Subject: [PATCH] kernel: add missing symbol Enabling KERNEL_KPROBES exposes KERNEL_BPF_KPROBE_OVERRIDE. Add a build option for it to fix build failures with KERNEL_KPROBES enabled. Signed-off-by: Stijn Tintel (cherry picked from commit 500c37c56ff60b46c30bb0ea7c92676bea23331a) --- config/Config-kernel.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 31d4e276fd..5e12ddd78d 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -422,6 +422,11 @@ config KERNEL_KPROBE_EVENTS bool default y if KERNEL_KPROBES +config KERNEL_BPF_KPROBE_OVERRIDE + bool + depends on KERNEL_KPROBES + default n + config KERNEL_AIO bool "Compile the kernel with asynchronous IO support" default y if !SMALL_FLASH -- 2.30.2