lkml.org 
[lkml]   [2008]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: build issue for v2.6.25-rc7-187-ga9edadb in mm/slub.c
Does this fix things?


Subject: Fix undefined count_partial of !CONFIG_SLABINFO

Typo in the check if we need the count_partial function that was
introduced by 53625b4204753b904addd40ca96d9ba802e6977d

Signed-off-by: Christoph Lameter <clameter@sgi.com>

---
mm/slub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c 2008-03-31 11:29:28.000000000 -0700
+++ linux-2.6/mm/slub.c 2008-03-31 11:32:23.000000000 -0700
@@ -2688,7 +2688,7 @@ void kfree(const void *x)
}
EXPORT_SYMBOL(kfree);

-#if defined(SLUB_DEBUG) || defined(CONFIG_SLABINFO)
+#if defined(CONFIG_SLUB_DEBUG) || defined(CONFIG_SLABINFO)
static unsigned long count_partial(struct kmem_cache_node *n)
{
unsigned long flags;


\
 
 \ /
  Last update: 2008-03-31 20:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site