mm/mempolicy.c: convert to pr_foo()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 29 Jan 2014 22:05:43 +0000 (14:05 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jan 2014 00:22:39 +0000 (16:22 -0800)
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>
mm/mempolicy.c

index 79cea01..873de7e 100644 (file)
@@ -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");
@@ -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;
 }