diff options
author | Dennis Zhou <dennisszhou@gmail.com> | 2018-02-15 10:08:14 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-02-18 05:33:00 -0800 |
commit | 15d9f3d116c02a485441d758d9ca0a2e4f3b30be (patch) | |
tree | 2759d33673f3d5f1d84acc94f7888a3c994dc181 /mm/percpu.c | |
parent | 685469e5bf9d31ccd9212be86f861a18fc213d05 (diff) | |
download | linux-stable-15d9f3d116c02a485441d758d9ca0a2e4f3b30be.tar.gz linux-stable-15d9f3d116c02a485441d758d9ca0a2e4f3b30be.tar.bz2 linux-stable-15d9f3d116c02a485441d758d9ca0a2e4f3b30be.zip |
percpu: match chunk allocator declarations with definitions
At some point the function declaration parameters got out of sync with
the function definitions in percpu-vm.c and percpu-km.c. This patch
makes them match again.
Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/percpu.c')
-rw-r--r-- | mm/percpu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mm/percpu.c b/mm/percpu.c index 50e7fdf84055..e1ea41002173 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -1277,8 +1277,10 @@ static void pcpu_chunk_depopulated(struct pcpu_chunk *chunk, * pcpu_addr_to_page - translate address to physical address * pcpu_verify_alloc_info - check alloc_info is acceptable during init */ -static int pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size); -static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, int off, int size); +static int pcpu_populate_chunk(struct pcpu_chunk *chunk, + int page_start, int page_end); +static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, + int page_start, int page_end); static struct pcpu_chunk *pcpu_create_chunk(void); static void pcpu_destroy_chunk(struct pcpu_chunk *chunk); static struct page *pcpu_addr_to_page(void *addr); |