slub: Move NUMA-related functions under CONFIG_NUMA
authorNamhyung Kim <namhyung@gmail.com>
Wed, 29 Sep 2010 12:02:15 +0000 (21:02 +0900)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:47:53 +0000 (10:47 +0300)
commit5d1f57e4d3d547b113ebd62f569be13bf485e53b
treeb97e925dc448129a8b30abb35597bde154042eef
parent3478973dedee5e957c45dc93c11d12dc3f733ee0
slub: Move NUMA-related functions under CONFIG_NUMA

Make kmalloc_cache_alloc_node_notrace(), kmalloc_large_node()
and __kmalloc_node_track_caller() to be compiled only when
CONFIG_NUMA is selected.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c