diff options
author | Joe Perches <joe@perches.com> | 2016-03-17 17:19:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 18:09:34 -0400 |
commit | 1170532bb49f9468aedabdc1d5a560e2521a2bcc (patch) | |
tree | 0197245ba37726d4ba7325e0de8129d45f8f49d9 /mm/mm_init.c | |
parent | 756a025f00091918d9d09ca3229defb160b409c0 (diff) |
mm: convert printk(KERN_<LEVEL> to pr_<level>
Most of the mm subsystem uses pr_<level> so make it consistent.
Miscellanea:
- Realign arguments
- Add missing newline to format
- kmemleak-test.c has a "kmemleak: " prefix added to the
"Kmemleak testing" logging message via pr_fmt
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Tejun Heo <tj@kernel.org> [percpu]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
-rw-r--r-- | mm/mm_init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mm/mm_init.c b/mm/mm_init.c index fdadf918de76..5b72266b4b03 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c | |||
@@ -55,13 +55,12 @@ void __init mminit_verify_zonelist(void) | |||
55 | /* Iterate the zonelist */ | 55 | /* Iterate the zonelist */ |
56 | for_each_zone_zonelist(zone, z, zonelist, zoneid) { | 56 | for_each_zone_zonelist(zone, z, zonelist, zoneid) { |
57 | #ifdef CONFIG_NUMA | 57 | #ifdef CONFIG_NUMA |
58 | printk(KERN_CONT "%d:%s ", | 58 | pr_cont("%d:%s ", zone->node, zone->name); |
59 | zone->node, zone->name); | ||
60 | #else | 59 | #else |
61 | printk(KERN_CONT "0:%s ", zone->name); | 60 | pr_cont("0:%s ", zone->name); |
62 | #endif /* CONFIG_NUMA */ | 61 | #endif /* CONFIG_NUMA */ |
63 | } | 62 | } |
64 | printk(KERN_CONT "\n"); | 63 | pr_cont("\n"); |
65 | } | 64 | } |
66 | } | 65 | } |
67 | } | 66 | } |