- slub-change-slub_debug-to-config_slub_debug-in-slubc.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     slub: change SLUB_DEBUG to CONFIG_SLUB_DEBUG in slub.c
has been removed from the -mm tree.  Its filename was
     slub-change-slub_debug-to-config_slub_debug-in-slubc.patch

This patch was dropped because it is obsolete

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: slub: change SLUB_DEBUG to CONFIG_SLUB_DEBUG in slub.c
From: Reynes Philippe <tremyfr@xxxxxxxx>

SLUB_DEBUG is used, instead of CONFIG_SLUB_DEBUG. So the compilation
failed with the error :

  CC      mm/slub.o
mm/slub.c: In function `show_slab_objects':
mm/slub.c:3674: erreur: implicit declaration of function `count_partial'
mm/slub.c:3674: erreur: `count_free' undeclared (first use in this function)

Cc: Christoph Lameter <clameter@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/slub.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN mm/slub.c~slub-change-slub_debug-to-config_slub_debug-in-slubc mm/slub.c
--- a/mm/slub.c~slub-change-slub_debug-to-config_slub_debug-in-slubc
+++ a/mm/slub.c
@@ -2688,7 +2688,8 @@ void kfree(const void *x)
 }
 EXPORT_SYMBOL(kfree);
 
-#if defined(SLUB_DEBUG) || defined(CONFIG_SLABINFO)
+#if (defined(CONFIG_SYSFS) && defined(CONFIG_SLUB_DEBUG)) || \
+	defined(CONFIG_SLABINFO)
 static unsigned long count_partial(struct kmem_cache_node *n)
 {
 	unsigned long flags;
_

Patches currently in -mm which might be from tremyfr@xxxxxxxx are

slub-change-slub_debug-to-config_slub_debug-in-slubc.patch
git-sched-schedc-needs-tickh.patch
add-warn_on_secs-macro-simplification-fix-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux