linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix comment on #endif
@ 2008-11-25 14:08 Pascal Terjan
  2008-11-26  8:05 ` Pekka Enberg
  0 siblings, 1 reply; 2+ messages in thread
From: Pascal Terjan @ 2008-11-25 14:08 UTC (permalink / raw)
  To: linux-mm; +Cc: LKML

This #endif in slab.h is described as closing the inner block while it's for 
the big CONFIG_NUMA one. That makes reading the code a bit harder.

This trivial patch fixes the comment.

Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
---
 include/linux/slab.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/slab.h b/include/linux/slab.h
index 000da12..9d8ca14 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -285,7 +285,7 @@ extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, void *);
 #define kmalloc_node_track_caller(size, flags, node) \
 	kmalloc_track_caller(size, flags)
 
-#endif /* DEBUG_SLAB */
+#endif /* CONFIG_NUMA */
 
 /*
  * Shortcuts
-- 
1.6.0.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix comment on #endif
  2008-11-25 14:08 [PATCH] Fix comment on #endif Pascal Terjan
@ 2008-11-26  8:05 ` Pekka Enberg
  0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2008-11-26  8:05 UTC (permalink / raw)
  To: Pascal Terjan; +Cc: linux-mm, LKML, Andrew Morton, Christoph Lameter

On Tue, Nov 25, 2008 at 4:08 PM, Pascal Terjan <pterjan@mandriva.com> wrote:
> This #endif in slab.h is described as closing the inner block while it's for
> the big CONFIG_NUMA one. That makes reading the code a bit harder.
>
> This trivial patch fixes the comment.
>
> Signed-off-by: Pascal Terjan <pterjan@mandriva.com>

Applied, thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-26  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25 14:08 [PATCH] Fix comment on #endif Pascal Terjan
2008-11-26  8:05 ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox