提交 4a404bea 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

mm/mempolicy.c: convert to pr_foo()

A few printk(KERN_*'s have snuck in there.

Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c297663c
...@@ -2668,7 +2668,7 @@ static void __init check_numabalancing_enable(void) ...@@ -2668,7 +2668,7 @@ static void __init check_numabalancing_enable(void)
set_numabalancing_state(numabalancing_override == 1); set_numabalancing_state(numabalancing_override == 1);
if (nr_node_ids > 1 && !numabalancing_override) { 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 " "Configure with numa_balancing= or the "
"kernel.numa_balancing sysctl", "kernel.numa_balancing sysctl",
numabalancing_default ? "Enabling" : "Disabling"); numabalancing_default ? "Enabling" : "Disabling");
...@@ -2691,7 +2691,7 @@ static int __init setup_numabalancing(char *str) ...@@ -2691,7 +2691,7 @@ static int __init setup_numabalancing(char *str)
} }
out: out:
if (!ret) if (!ret)
printk(KERN_WARNING "Unable to parse numa_balancing=\n"); pr_warn("Unable to parse numa_balancing=\n");
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册