aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-06-17 13:29:04 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2009-06-17 13:29:04 -0400
commit2030117d2761c4c955e1a0683fa96ab62e4b197b (patch)
tree9d0d9e8d6c60eb71df8cdb72058a653671074845 /mm
parent000814f44e56122ea22e1f1422e16df36a1bb396 (diff)
kmemleak: Fix some typos in comments
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/kmemleak.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index c1f538e63b1b..ec759b60077a 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -202,9 +202,9 @@ static DEFINE_MUTEX(kmemleak_mutex);
202static int reported_leaks; 202static int reported_leaks;
203 203
204/* 204/*
205 * Early object allocation/freeing logging. Kkmemleak is initialized after the 205 * Early object allocation/freeing logging. Kmemleak is initialized after the
206 * kernel allocator. However, both the kernel allocator and kmemleak may 206 * kernel allocator. However, both the kernel allocator and kmemleak may
207 * allocate memory blocks which need to be tracked. Kkmemleak defines an 207 * allocate memory blocks which need to be tracked. Kmemleak defines an
208 * arbitrary buffer to hold the allocation/freeing information before it is 208 * arbitrary buffer to hold the allocation/freeing information before it is
209 * fully initialized. 209 * fully initialized.
210 */ 210 */
@@ -248,7 +248,7 @@ static void kmemleak_disable(void);
248 248
249/* 249/*
250 * Macro invoked when a serious kmemleak condition occured and cannot be 250 * Macro invoked when a serious kmemleak condition occured and cannot be
251 * recovered from. Kkmemleak will be disabled and further allocation/freeing 251 * recovered from. Kmemleak will be disabled and further allocation/freeing
252 * tracing no longer available. 252 * tracing no longer available.
253 */ 253 */
254#define kmemleak_stop(x...) do { \ 254#define kmemleak_stop(x...) do { \
@@ -1407,7 +1407,7 @@ static int kmemleak_boot_config(char *str)
1407early_param("kmemleak", kmemleak_boot_config); 1407early_param("kmemleak", kmemleak_boot_config);
1408 1408
1409/* 1409/*
1410 * Kkmemleak initialization. 1410 * Kmemleak initialization.
1411 */ 1411 */
1412void __init kmemleak_init(void) 1412void __init kmemleak_init(void)
1413{ 1413{