aboutsummaryrefslogtreecommitdiffstats
path: root/mm/kmemtrace.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-10 11:02:59 +0300
committerPekka Enberg <penberg@cs.helsinki.fi>2008-12-29 15:34:17 +0200
commitbf6803d6fd654d9a73cd90308b5225d78655d027 (patch)
treee6551e13cbfc0fd5525a9bad6c8546cefee08b23 /mm/kmemtrace.c
parentfaa97abe6a3673af268abb661c6b663252a911aa (diff)
downloadkernel_samsung_tuna-bf6803d6fd654d9a73cd90308b5225d78655d027.zip
kernel_samsung_tuna-bf6803d6fd654d9a73cd90308b5225d78655d027.tar.gz
kernel_samsung_tuna-bf6803d6fd654d9a73cd90308b5225d78655d027.tar.bz2
kmemtrace: remove config option for enabling tracing at boot
Users can pass kmemtrace.enabled=yes as a kernel parameter to enable kmemtrace at boot so remove the useless CONFIG_KMEMTRACE_DEFAULT_ENABLED config option. Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
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 f7a49c0..f7704f5 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