diff options
author | Dennis Zhou (Facebook) <dennisszhou@gmail.com> | 2017-07-15 22:23:06 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-07-17 10:45:42 -0400 |
commit | cd6a884d09558014d0df5400d78b5c7f40f0a62e (patch) | |
tree | bae6bcddad08ec4724b851bff372cbf8906de2d2 /mm/percpu-stats.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-cd6a884d09558014d0df5400d78b5c7f40f0a62e.tar.bz2 |
percpu: pcpu-stats change void buffer to int buffer
Changes the use of a void buffer to an int buffer for clarity.
Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/percpu-stats.c')
-rw-r--r-- | mm/percpu-stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/percpu-stats.c b/mm/percpu-stats.c index 03524a56eeff..0d810443785f 100644 --- a/mm/percpu-stats.c +++ b/mm/percpu-stats.c @@ -49,7 +49,7 @@ static int find_max_map_used(void) * the beginning of the chunk to the last allocation. */ static void chunk_map_stats(struct seq_file *m, struct pcpu_chunk *chunk, - void *buffer) + int *buffer) { int i, s_index, last_alloc, alloc_sign, as_len; int *alloc_sizes, *p; @@ -113,7 +113,7 @@ static int percpu_stats_show(struct seq_file *m, void *v) { struct pcpu_chunk *chunk; int slot, max_map_used; - void *buffer; + int *buffer; alloc_buffer: spin_lock_irq(&pcpu_lock); |