diff options
author | Joe Perches <joe@perches.com> | 2014-10-31 13:50:46 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-11-11 15:51:42 -0500 |
commit | f47436734dc89ece62654d4db8d08163a89dd7ca (patch) | |
tree | 1977a1e352588c026c87cc1fc34c93fabba6f2b7 /arch/tile/mm/pgtable.c | |
parent | ebd25caf7d511312d1a9724ab5752e9e661dfe60 (diff) |
tile: Use the more common pr_warn instead of pr_warning
And other message logging neatening.
Other miscellanea:
o coalesce formats
o realign arguments
o standardize a couple of macros
o use __func__ instead of embedding the function name
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/mm/pgtable.c')
-rw-r--r-- | arch/tile/mm/pgtable.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/tile/mm/pgtable.c b/arch/tile/mm/pgtable.c index 5e86eac4bfae..7bf2491a9c1f 100644 --- a/arch/tile/mm/pgtable.c +++ b/arch/tile/mm/pgtable.c | |||
@@ -44,9 +44,7 @@ void show_mem(unsigned int filter) | |||
44 | { | 44 | { |
45 | struct zone *zone; | 45 | struct zone *zone; |
46 | 46 | ||
47 | pr_err("Active:%lu inactive:%lu dirty:%lu writeback:%lu unstable:%lu" | 47 | pr_err("Active:%lu inactive:%lu dirty:%lu writeback:%lu unstable:%lu free:%lu\n slab:%lu mapped:%lu pagetables:%lu bounce:%lu pagecache:%lu swap:%lu\n", |
48 | " free:%lu\n slab:%lu mapped:%lu pagetables:%lu bounce:%lu" | ||
49 | " pagecache:%lu swap:%lu\n", | ||
50 | (global_page_state(NR_ACTIVE_ANON) + | 48 | (global_page_state(NR_ACTIVE_ANON) + |
51 | global_page_state(NR_ACTIVE_FILE)), | 49 | global_page_state(NR_ACTIVE_FILE)), |
52 | (global_page_state(NR_INACTIVE_ANON) + | 50 | (global_page_state(NR_INACTIVE_ANON) + |