percpu: use VMALLOC_TOTAL instead of VMALLOC_END - VMALLOC_START
authorLaura Abbott <lauraa@codeaurora.org>
Thu, 2 Jan 2014 21:53:21 +0000 (13:53 -0800)
committerTejun Heo <tj@kernel.org>
Tue, 21 Jan 2014 09:41:26 +0000 (04:41 -0500)
commit8a0921712ec6d00754b5d7afea78137772efee0a
tree924510ff666ca74151d8dc30309403543579ae8c
parent687b0ad2751ca8ea418396fa780e22571fba76a8
percpu: use VMALLOC_TOTAL instead of VMALLOC_END - VMALLOC_START

vmalloc already gives a useful macro to calculate the total vmalloc
size. Use it.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c