Răsfoiți Sursa

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 <[email protected]>
Stijn Tintel 3 ani în urmă
părinte
comite
500c37c56f
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      config/Config-kernel.in

+ 5 - 0
config/Config-kernel.in

@@ -422,6 +422,11 @@ config KERNEL_KPROBE_EVENTS
 	bool
 	bool
 	default y if KERNEL_KPROBES
 	default y if KERNEL_KPROBES
 
 
+config KERNEL_BPF_KPROBE_OVERRIDE
+	bool
+	depends on KERNEL_KPROBES
+	default n
+
 config KERNEL_AIO
 config KERNEL_AIO
 	bool "Compile the kernel with asynchronous IO support"
 	bool "Compile the kernel with asynchronous IO support"
 	default y if !SMALL_FLASH
 	default y if !SMALL_FLASH