From: Pekka Enberg Date: Wed, 6 Oct 2010 13:58:16 +0000 (+0300) Subject: SLUB: Fix memory hotplug with !NUMA X-Git-Tag: v2.6.37-rc1~141^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a5bbc11ff2442a54b2f1d313088c245828ef4e;p=pandora-kernel.git SLUB: Fix memory hotplug with !NUMA This patch fixes the following build breakage when memory hotplug is enabled on UMA configurations: /home/test/linux-2.6/mm/slub.c: In function 'kmem_cache_init': /home/test/linux-2.6/mm/slub.c:3031:2: error: 'slab_memory_callback' undeclared (first use in this function) /home/test/linux-2.6/mm/slub.c:3031:2: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [mm/slub.o] Error 1 make[1]: *** [mm] Error 2 make: *** [sub-make] Error 2 Reported-by: Zimny Lech Acked-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed