From: Glauber Costa Date: Fri, 19 Oct 2012 14:20:26 +0000 (+0400) Subject: mm/sl[au]b: Move print_slabinfo_header to slab_common.c X-Git-Tag: v3.8-rc1~62^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcee6e2a13d580f6c21d748fcd7239ccc66cb4b8;p=pandora-kernel.git mm/sl[au]b: Move print_slabinfo_header to slab_common.c The header format is highly similar between slab and slub. The main difference lays in the fact that slab may optionally have statistics added here in case of CONFIG_SLAB_DEBUG, while the slub will stick them somewhere else. By making sure that information conditionally lives inside a globally-visible CONFIG_DEBUG_SLAB switch, we can move the header printing to a common location. Signed-off-by: Glauber Costa Acked-by: Christoph Lameter CC: David Rientjes Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed