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

From: Toralf Förster
Date: Tue Apr 01 2008 - 03:48:03 EST


At Monday 31 March 2008 20:47:32 Christoph Lameter wrote :
> Does this fix things?
>
>
Yes :-)

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



--
MfG/Sincerely

Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

Attachment: signature.asc
Description: This is a digitally signed message part.