Skip to content

Commit

Permalink
percpu: use KERN_CONT in pcpu_dump_alloc_info()
Browse files Browse the repository at this point in the history
pcpu_dump_alloc_info() was printing continued lines without KERN_CONT.
Use it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Kay Sievers <kay.sievers@vrfy.org>
  • Loading branch information
Tejun Heo committed Mar 29, 2012
1 parent b5174fa commit cb12982
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,20 +1132,20 @@ static void pcpu_dump_alloc_info(const char *lvl,
for (alloc_end += gi->nr_units / upa;
alloc < alloc_end; alloc++) {
if (!(alloc % apl)) {
printk("\n");
printk(KERN_CONT "\n");
printk("%spcpu-alloc: ", lvl);
}
printk("[%0*d] ", group_width, group);
printk(KERN_CONT "[%0*d] ", group_width, group);

for (unit_end += upa; unit < unit_end; unit++)
if (gi->cpu_map[unit] != NR_CPUS)
printk("%0*d ", cpu_width,
printk(KERN_CONT "%0*d ", cpu_width,
gi->cpu_map[unit]);
else
printk("%s ", empty_str);
printk(KERN_CONT "%s ", empty_str);
}
}
printk("\n");
printk(KERN_CONT "\n");
}

/**
Expand Down

0 comments on commit cb12982

Please sign in to comment.