diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-10 04:02:59 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-12-29 08:34:17 -0500 |
commit | bf6803d6fd654d9a73cd90308b5225d78655d027 (patch) | |
tree | e6551e13cbfc0fd5525a9bad6c8546cefee08b23 /mm | |
parent | faa97abe6a3673af268abb661c6b663252a911aa (diff) |
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')
-rw-r--r-- | mm/kmemtrace.c | 8 |
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; | |||
19 | static u32 kmemtrace_buf_overruns; | 19 | static u32 kmemtrace_buf_overruns; |
20 | 20 | ||
21 | static unsigned int kmemtrace_n_subbufs; | 21 | static unsigned int kmemtrace_n_subbufs; |
22 | #ifdef CONFIG_KMEMTRACE_DEFAULT_ENABLED | 22 | |
23 | static unsigned int kmemtrace_enabled = 1; | 23 | /* disabled by default */ |
24 | #else | 24 | static unsigned int kmemtrace_enabled; |
25 | static unsigned int kmemtrace_enabled = 0; | ||
26 | #endif | ||
27 | 25 | ||
28 | /* | 26 | /* |
29 | * The sequence number is used for reordering kmemtrace packets | 27 | * The sequence number is used for reordering kmemtrace packets |