From: Andrew Morton Date: Tue, 7 Apr 2015 23:44:38 +0000 (+1000) Subject: mm-memory-print-also-a_ops-readpage-in-print_bad_pte-fix X-Git-Tag: KARO-TXA5-2015-06-26~18^2~259 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c0ba303b0621887d97a4f09f5f614bcedf9b6b7;p=karo-tx-linux.git mm-memory-print-also-a_ops-readpage-in-print_bad_pte-fix use pr_alert, per Kirill Cc: Kirill A. Shutemov Cc: Konstantin Khlebnikov Cc: Sasha Levin Signed-off-by: Andrew Morton --- diff --git a/mm/memory.c b/mm/memory.c index 6be2989bad07..958d5aedf76b 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -690,12 +690,11 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, /* * Choose text because data symbols depend on CONFIG_KALLSYMS_ALL=y */ - printk(KERN_ALERT - "file:%pD fault:%pf mmap:%pf readpage:%pf\n", - vma->vm_file, - vma->vm_ops ? vma->vm_ops->fault : NULL, - vma->vm_file ? vma->vm_file->f_op->mmap : NULL, - mapping ? mapping->a_ops->readpage : NULL); + pr_alert("file:%pD fault:%pf mmap:%pf readpage:%pf\n", + vma->vm_file, + vma->vm_ops ? vma->vm_ops->fault : NULL, + vma->vm_file ? vma->vm_file->f_op->mmap : NULL, + mapping ? mapping->a_ops->readpage : NULL); dump_stack(); add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE); }