]> git.baikalelectronics.ru Git - kernel.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>
Tue, 21 Jan 2014 09:41:26 +0000 (04:41 -0500)
commit1cfd96b9fccb0324f129d9aa9514f92cd17e795d
tree924510ff666ca74151d8dc30309403543579ae8c
parent5f9f06e233c721431af9ad8b84c0d0b94e001eb9
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