diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2014-01-29 17:05:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-29 19:22:39 -0500 |
commit | 4a404bea941ac3c62e11b88c9d16197334eee2f1 (patch) | |
tree | 2a2814a8ca6dd449f0434b021dd81b32fe160836 /mm | |
parent | c297663c0b3930491a3cb2aba4b6e5a7159c3503 (diff) |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempolicy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 79cea01f9f78..873de7e542bc 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -2668,7 +2668,7 @@ static void __init check_numabalancing_enable(void) | |||
2668 | set_numabalancing_state(numabalancing_override == 1); | 2668 | set_numabalancing_state(numabalancing_override == 1); |
2669 | 2669 | ||
2670 | if (nr_node_ids > 1 && !numabalancing_override) { | 2670 | if (nr_node_ids > 1 && !numabalancing_override) { |
2671 | printk(KERN_INFO "%s automatic NUMA balancing. " | 2671 | pr_info("%s automatic NUMA balancing. " |
2672 | "Configure with numa_balancing= or the " | 2672 | "Configure with numa_balancing= or the " |
2673 | "kernel.numa_balancing sysctl", | 2673 | "kernel.numa_balancing sysctl", |
2674 | numabalancing_default ? "Enabling" : "Disabling"); | 2674 | numabalancing_default ? "Enabling" : "Disabling"); |
@@ -2691,7 +2691,7 @@ static int __init setup_numabalancing(char *str) | |||
2691 | } | 2691 | } |
2692 | out: | 2692 | out: |
2693 | if (!ret) | 2693 | if (!ret) |
2694 | printk(KERN_WARNING "Unable to parse numa_balancing=\n"); | 2694 | pr_warn("Unable to parse numa_balancing=\n"); |
2695 | 2695 | ||
2696 | return ret; | 2696 | return ret; |
2697 | } | 2697 | } |