From 56702140b6ab8af28487f7b55dae611a8e15dcb1 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 25 May 2014 22:39:54 +0000
Subject: [PATCH] kernel: add a config option for enabling /proc/slabinfo

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40858
---
 config/Config-kernel.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 543b638f65..e64c4b7752 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -134,6 +134,17 @@ config KERNEL_PRINTK_TIME
 	bool "Enable printk timestamps"
 	default y
 
+config KERNEL_SLUB_DEBUG
+	bool
+
+config KERNEL_SLUB_DEBUG_ON
+	bool
+
+config KERNEL_SLABINFO
+	select KERNEL_SLUB_DEBUG
+	select KERNEL_SLUB_DEBUG_ON
+	bool "Enable /proc slab debug info"
+
 config KERNEL_PROC_PAGE_MONITOR
 	bool "Enable /proc page monitoring"
 
-- 
2.30.2