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

From: Christoph Lameter
Date: Mon Mar 31 2008 - 14:50:07 EST


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@xxxxxxx>

---
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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/