Fix undefined count_partial if !CONFIG_SLABINFO
Small typo in the patch recently merged to avoid the unused symbol
message for count_partial(). Discussion thread with confirmation of fix at
http://marc.info/?t=120696854400001&r=1&w=2
Typo in the check if we need the count_partial function that was
introduced by 53625b4204
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
670e23ceb1
commit
00460dd5f4
1 changed files with 1 additions and 1 deletions
|
@ -2688,7 +2688,7 @@ void kfree(const void *x)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(kfree);
|
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)
|
static unsigned long count_partial(struct kmem_cache_node *n)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
Loading…
Add table
Reference in a new issue