mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mm: percpu: use pr_fmt to prefix output
Use the normal mechanism to make the logging output consistently "percpu:" instead of a mix of "PERCPU:" and "percpu:" Signed-off-by: Joe Perches <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1170532bb4
commit
870d4b12ad
2 changed files with 13 additions and 11 deletions
|
|
@ -95,7 +95,7 @@ static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai)
|
|||
|
||||
/* all units must be in a single group */
|
||||
if (ai->nr_groups != 1) {
|
||||
pr_crit("percpu: can't handle more than one groups\n");
|
||||
pr_crit("can't handle more than one group\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ static int __init pcpu_verify_alloc_info(const struct pcpu_alloc_info *ai)
|
|||
alloc_pages = roundup_pow_of_two(nr_pages);
|
||||
|
||||
if (alloc_pages > nr_pages)
|
||||
pr_warn("percpu: wasting %zu pages per chunk\n",
|
||||
pr_warn("wasting %zu pages per chunk\n",
|
||||
alloc_pages - nr_pages);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue