diff options
author | Tejun Heo <tj@kernel.org> | 2010-04-09 11:57:01 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-05-01 08:30:50 +0200 |
commit | 6081089fd6f216b0eb8849205ad0c350cd5ed9bc (patch) | |
tree | da16d237ee2a48e5a739384893ed46b440fddde4 /sound | |
parent | percpu: factor out pcpu_addr_in_first/reserved_chunk() and update per_cpu_ptr... (diff) | |
download | linux-6081089fd6f216b0eb8849205ad0c350cd5ed9bc.tar.xz linux-6081089fd6f216b0eb8849205ad0c350cd5ed9bc.zip |
percpu: reorganize chunk creation and destruction
Reorganize alloc/free_pcpu_chunk() such that chunk struct alloc/free
live in pcpu_alloc/free_chunk() and the rest in
pcpu_create/destroy_chunk(). While at it, add missing error handling
for chunk->map allocation failure.
This is to allow alternate chunk management implementation for percpu
nommu support.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Cc: Graff Yang <graff.yang@gmail.com>
Cc: Sonic Zhang <sonic.adi@gmail.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions