[openwrt/openwrt] kernel: add missing symbol

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 2 19:47:52 PDT 2022


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/500c37c56ff60b46c30bb0ea7c92676bea23331a

commit 500c37c56ff60b46c30bb0ea7c92676bea23331a
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Sat Apr 2 23:41:27 2022 +0300

    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 <stijn at linux-ipv6.be>
---
 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




More information about the lede-commits mailing list