vmalloc: pcpu_get/free_vm_areas() aren't needed on UP
authorTejun Heo <tj@kernel.org>
Fri, 3 Sep 2010 16:22:47 +0000 (18:22 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 8 Sep 2010 09:10:47 +0000 (11:10 +0200)
commit4f8b02b4e5c6896e073bed736136d420bd44b627
treebdc29ec9effaf18681b16594257540d256b4d36f
parentd56557af19867edb8c0e96f8e26399698a08857f
vmalloc: pcpu_get/free_vm_areas() aren't needed on UP

These functions are used only by percpu memory allocator on SMP.
Don't build them on UP.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Nick Piggin <npiggin@kernel.dk>
Reviewed-by: Chrsitoph Lameter <cl@linux.com>
include/linux/vmalloc.h
mm/vmalloc.c