Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 53625b4204753b904addd40ca96d9ba802e6977d

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Christoph Lameter and committed by
Linus Torvalds
00460dd5 670e23ce

+1 -1
+1 -1
mm/slub.c
··· 2688 2688 } 2689 2689 EXPORT_SYMBOL(kfree); 2690 2690 2691 - #if defined(SLUB_DEBUG) || defined(CONFIG_SLABINFO) 2691 + #if defined(CONFIG_SLUB_DEBUG) || defined(CONFIG_SLABINFO) 2692 2692 static unsigned long count_partial(struct kmem_cache_node *n) 2693 2693 { 2694 2694 unsigned long flags;