arm: add KERN_* constants to printk()'s in
Subsystems (2)
PATCH RESEND 4/7 arm: add KERN_* constants to printk()'s in
Diffstat:
alignment.c | 2 +- fault.c | 2 +- init.c | 16 ++++++++-------- ioremap.c | 2 +- mm-armv.c | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-)
Signed-off-by James Nelson <[email protected]>
---
arch/arm/mm/alignment.c +1 -1
@@ -756,7 +756,7 @@ do_alignment(unsigned long addr, unsigne ai_user +=1 ;if (ai_usermode &1 ) - printk("Alignment trap: %s (%d) PC=0x%08lx Instr=0x%0*lx " + pr_info("Alignment trap: %s (%d) PC=0x%08lx Instr=0x%0*lx " "Address=0x%08lx FSR 0x%03x\n", current->comm, current->pid, instrptr, thumb_mode(regs) ? 4 : 8,
arch/arm/mm/fault.c +1 -1
@@ -266,7 +266,7 @@ do_page_fault(unsigned long addr, unsign* happened to us that made us unable to handle * the page fault gracefully. */ -printk ("VM: killing process %s\n" , tsk->comm); +printk (KERN_WARNING "VM: killing process %s\n" , tsk->comm);do_exit (SIGKILL );return 0 ;
arch/arm/mm/init.c +8 -8
@@ -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)
arch/arm/mm/ioremap.c +1 -1
@@ -61,7 +61,7 @@ remap_area_pte(pte_t * pte, unsigned lonreturn ; bad: -printk ("remap_area_pte: page already exists\n" ); +printk (KERN_CRIT "remap_area_pte: page already exists\n" );BUG (); }
arch/arm/mm/mm-armv.c +1 -1
@@ -485,7 +485,7 @@ #endif mem_types[MT_CACHECLEAN ].prot_sect |=PMD_SECT_WB ;break ; } -printk ("Memory policy: ECC %sabled, Data cache %s\n" , +pr_info ("Memory policy: ECC %sabled, Data cache %s\n" , ecc_mask ?"en" :"dis" , cp->policy); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors