diff options
author | Tejun Heo <tj@kernel.org> | 2010-04-09 18:57:00 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-05-01 08:30:49 +0200 |
commit | 020ec6537aa65c18e9084c568d7b94727f2026fd (patch) | |
tree | 0466d590090ed9db214846887e7ea636fcd26169 /drivers/mtd/mtdbdi.c | |
parent | be1066bbcd443a65df312fdecea7e4959adedb45 (diff) | |
download | talos-obmc-linux-020ec6537aa65c18e9084c568d7b94727f2026fd.tar.gz talos-obmc-linux-020ec6537aa65c18e9084c568d7b94727f2026fd.zip |
percpu: factor out pcpu_addr_in_first/reserved_chunk() and update per_cpu_ptr_to_phys()
Factor out pcpu_addr_in_first/reserved_chunk() from
pcpu_chunk_addr_search() and use it to update per_cpu_ptr_to_phys()
such that it handles first chunk differently from the rest.
This patch doesn't cause any functional change and is to prepare 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 'drivers/mtd/mtdbdi.c')
0 files changed, 0 insertions, 0 deletions