mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mm: convert printk(KERN_<LEVEL> to pr_<level>
Most of the mm subsystem uses pr_<level> so make it consistent. Miscellanea: - Realign arguments - Add missing newline to format - kmemleak-test.c has a "kmemleak: " prefix added to the "Kmemleak testing" logging message via pr_fmt Signed-off-by: Joe Perches <[email protected]> Acked-by: Tejun Heo <[email protected]> [percpu] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
756a025f00
commit
1170532bb4
20 changed files with 118 additions and 150 deletions
12
mm/percpu.c
12
mm/percpu.c
|
|
@ -1449,20 +1449,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(KERN_CONT "\n");
|
||||
pr_cont("\n");
|
||||
printk("%spcpu-alloc: ", lvl);
|
||||
}
|
||||
printk(KERN_CONT "[%0*d] ", group_width, group);
|
||||
pr_cont("[%0*d] ", group_width, group);
|
||||
|
||||
for (unit_end += upa; unit < unit_end; unit++)
|
||||
if (gi->cpu_map[unit] != NR_CPUS)
|
||||
printk(KERN_CONT "%0*d ", cpu_width,
|
||||
gi->cpu_map[unit]);
|
||||
pr_cont("%0*d ",
|
||||
cpu_width, gi->cpu_map[unit]);
|
||||
else
|
||||
printk(KERN_CONT "%s ", empty_str);
|
||||
pr_cont("%s ", empty_str);
|
||||
}
|
||||
}
|
||||
printk(KERN_CONT "\n");
|
||||
pr_cont("\n");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue