summaryrefslogtreecommitdiffstats
path: root/mm/kmemtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kmemtrace.c')
-rw-r--r--mm/kmemtrace.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mm/kmemtrace.c b/mm/kmemtrace.c
index f7a49c077df2..f7704f52c4b1 100644
--- a/mm/kmemtrace.c
+++ b/mm/kmemtrace.c
@@ -19,11 +19,9 @@ static struct rchan *kmemtrace_chan;
static u32 kmemtrace_buf_overruns;
static unsigned int kmemtrace_n_subbufs;
-#ifdef CONFIG_KMEMTRACE_DEFAULT_ENABLED
-static unsigned int kmemtrace_enabled = 1;
-#else
-static unsigned int kmemtrace_enabled = 0;
-#endif
+
+/* disabled by default */
+static unsigned int kmemtrace_enabled;
/*
* The sequence number is used for reordering kmemtrace packets
OpenPOWER on IntegriCloud