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)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:25:25 +0000 (10:25 +0300)
commit0bc14062414d35c269b7c7dc3243a890886e7b38
tree7e9ff49d9261a98de838c360306387aaf2b12729
parent84c1cf62465e2fb0a692620dcfeb52323ab03d48
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>
include/linux/vmalloc.h
mm/vmalloc.c