Re: build issue for v2.6.25-rc7-187-ga9edadb in mm/slub.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Monday, March 31, 2008 - 11:47 am

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;

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: build issue for v2.6.25-rc7-187-ga9edadb in mm/slub.c, Christoph Lameter, (Mon Mar 31, 11:47 am)