aboutsummaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/percpu.c')
-rw-r--r--mm/percpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 77933928107d..43d8cacfdaa5 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -347,7 +347,7 @@ static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr)
347 * space. Note that any possible cpu id can be used here, so 347 * space. Note that any possible cpu id can be used here, so
348 * there's no need to worry about preemption or cpu hotplug. 348 * there's no need to worry about preemption or cpu hotplug.
349 */ 349 */
350 addr += pcpu_unit_offsets[smp_processor_id()]; 350 addr += pcpu_unit_offsets[raw_smp_processor_id()];
351 return pcpu_get_page_chunk(vmalloc_to_page(addr)); 351 return pcpu_get_page_chunk(vmalloc_to_page(addr));
352} 352}
353 353