summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 08:00:51 +0200
committerTejun Heo <tj@kernel.org>2009-08-14 08:00:51 +0200
commitbba174f5e03a40a4ab1c63a2272ea5530b98a067 (patch)
treeea3607d0730cf4a0b938b4bc7574ae02dc138792 /mm/vmalloc.c
parentpercpu: add pcpu_unit_offsets[] (diff)
downloadlinux-bba174f5e03a40a4ab1c63a2272ea5530b98a067.tar.xz
linux-bba174f5e03a40a4ab1c63a2272ea5530b98a067.zip
percpu: add chunk->base_addr
The only thing percpu allocator wants to know about a vmalloc area is the base address. Instead of requiring chunk->vm, add chunk->base_addr which contains the necessary value. This simplifies the code a bit and makes the dummy first_vm unnecessary. This change will ease allowing a chunk to be mapped by multiple vms. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions