diff options
Diffstat (limited to 'mm/percpu.c')
-rw-r--r-- | mm/percpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/percpu.c b/mm/percpu.c index b14984566f5a..19dd83b5cbdc 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -290,7 +290,7 @@ static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr) | |||
290 | void *first_start = pcpu_first_chunk->vm->addr; | 290 | void *first_start = pcpu_first_chunk->vm->addr; |
291 | 291 | ||
292 | /* is it in the first chunk? */ | 292 | /* is it in the first chunk? */ |
293 | if (addr >= first_start && addr < first_start + pcpu_chunk_size) { | 293 | if (addr >= first_start && addr < first_start + pcpu_unit_size) { |
294 | /* is it in the reserved area? */ | 294 | /* is it in the reserved area? */ |
295 | if (addr < first_start + pcpu_reserved_chunk_limit) | 295 | if (addr < first_start + pcpu_reserved_chunk_limit) |
296 | return pcpu_reserved_chunk; | 296 | return pcpu_reserved_chunk; |