[PATCH 1/2] bpf: Don't select USERMODE_DRIVER

From: linux
Date: Wed Nov 13 2024 - 21:27:41 EST


From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

USERMODE_DRIVER isn't neede dby BPF_PRELOAD anymore since
commit cb80ddc67152 ("bpf: Convert bpf_preload.ko to use light skeleton.")

Remove the depend Kconfig.

Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
---
kernel/bpf/preload/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/bpf/preload/Kconfig b/kernel/bpf/preload/Kconfig
index c9d45c9d6918..f9b11d01c3b5 100644
--- a/kernel/bpf/preload/Kconfig
+++ b/kernel/bpf/preload/Kconfig
@@ -10,7 +10,6 @@ menuconfig BPF_PRELOAD
# The dependency on !COMPILE_TEST prevents it from being enabled
# in allmodconfig or allyesconfig configurations
depends on !COMPILE_TEST
- select USERMODE_DRIVER
help
This builds kernel module with several embedded BPF programs that are
pinned into BPF FS mount point as human readable files that are
--
2.47.0