summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_percpu.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-07-04 08:10:58 +0900
committerTejun Heo <tj@kernel.org>2009-07-04 08:10:58 +0900
commit79ba6ac825fac187894e236c9df1ba5fcbf53fd3 (patch)
tree384d4c09259161d0b7e2ee894cb82696ebb8e997 /arch/x86/kernel/setup_percpu.c
parentc43768cbb7655ea5ff782ae250f6e2ef4297cf98 (diff)
downloadblackbird-op-linux-79ba6ac825fac187894e236c9df1ba5fcbf53fd3.tar.gz
blackbird-op-linux-79ba6ac825fac187894e236c9df1ba5fcbf53fd3.zip
x86: make pcpu_chunk_addr_search() matching stricter
The @addr passed into pcpu_chunk_addr_search() is unit0 based address and thus should be matched inside unit0 area. Currently, when it uses chunk size when determining whether the address falls in the first chunk. Addresses in unitN where N>0 shouldn't be passed in anyway, so this doesn't cause any malfunction but fix it for consistency. [ Impact: mostly cleanup ] Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup_percpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud