]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sun, 12 Jan 2014 03:37:40 +0000 (22:37 -0500)
commit3e7da78e081e9a3a49bedb1d5b5c1c09dbf43f62
treef4a5cc9a97277d5d8b53f482da9e7c4ffba3b6fd
parentff9dce84c6832a367b5d2cf86e9cb6d3e0412cd9
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