Skip to content

Commit

Permalink
mm/mempolicy.c: convert to pr_foo()
Browse files Browse the repository at this point in the history
A few printk(KERN_*'s have snuck in there.

Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Jan 30, 2014
1 parent c297663 commit 4a404be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2668,7 +2668,7 @@ static void __init check_numabalancing_enable(void)
set_numabalancing_state(numabalancing_override == 1);

if (nr_node_ids > 1 && !numabalancing_override) {
printk(KERN_INFO "%s automatic NUMA balancing. "
pr_info("%s automatic NUMA balancing. "
"Configure with numa_balancing= or the "
"kernel.numa_balancing sysctl",
numabalancing_default ? "Enabling" : "Disabling");
Expand All @@ -2691,7 +2691,7 @@ static int __init setup_numabalancing(char *str)
}
out:
if (!ret)
printk(KERN_WARNING "Unable to parse numa_balancing=\n");
pr_warn("Unable to parse numa_balancing=\n");

return ret;
}
Expand Down

0 comments on commit 4a404be

Please sign in to comment.