From 8650a9ee858765966d85b06a5b7f0369aeda0705 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 1 May 2025 23:09:49 +0300 Subject: [PATCH] kernel: add KERNEL_STACKDEPOT_MAX_FRAMES When KERNEL_SLUB_DEBUG is enabled, build fails due to the KERNEL_STACKDEPOT_MAX_FRAMES missing. Add it. Signed-off-by: Stijn Tintel Link: https://github.com/openwrt/openwrt/pull/18676 Signed-off-by: Christian Marangi --- config/Config-kernel.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 34c76ee4249..fdda05f45f8 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -741,6 +741,11 @@ config KERNEL_SLABINFO select KERNEL_SLUB_DEBUG_ON bool "Enable /proc slab debug info" +config KERNEL_STACKDEPOT_MAX_FRAMES + int + default 64 + depends on KERNEL_SLUB_DEBUG + config KERNEL_PROC_PAGE_MONITOR bool "Enable /proc page monitoring" -- 2.47.2