[KJ] [PATCH 59/72] arm: add KERN_ constants to arch/arm/mm/init.c
James Nelson
james4765 at gmail.com
Thu Sep 7 19:03:01 PDT 2006
Signed-off-by: James Nelson <james4765 at gmail.com>
---
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index fe3f7f6..b17a60a 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -49,9 +49,9 @@ void show_mem(void)
int free = 0, total = 0, reserved = 0;
int shared = 0, cached = 0, slab = 0, node;
- printk("Mem-info:\n");
+ pr_info("Mem-info:\n");
show_free_areas();
- printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
+ pr_info("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
for_each_online_node(node) {
struct page *page, *end;
@@ -75,12 +75,12 @@ void show_mem(void)
} while (page < end);
}
- printk("%d pages of RAM\n", total);
- printk("%d free pages\n", free);
- printk("%d reserved pages\n", reserved);
- printk("%d slab pages\n", slab);
- printk("%d pages shared\n", shared);
- printk("%d pages swap cached\n", cached);
+ pr_info("%d pages of RAM\n", total);
+ pr_info("%d free pages\n", free);
+ pr_info("%d reserved pages\n", reserved);
+ pr_info("%d slab pages\n", slab);
+ pr_info("%d pages shared\n", shared);
+ pr_info("%d pages swap cached\n", cached);
}
static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt)
More information about the Kernel-janitors
mailing list