commit | bba174f5e03a40a4ab1c63a2272ea5530b98a067 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Aug 14 15:00:51 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Fri Aug 14 15:00:51 2009 +0900 |
tree | ea3607d0730cf4a0b938b4bc7574ae02dc138792 | |
parent | fb435d5233f8b6f9b93c11d6304d8e98fed03234 [diff] |
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>