• Luis R. Rodriguez's avatar
    x86/mm/pat: Convert to pr_*() usage · 9e76561f
    Luis R. Rodriguez authored
    Use pr_info() instead of the old printk to prefix the component
    where things are coming from. With this readers will know
    exactly where the message is coming from. We use pr_* helpers
    but define pr_fmt to the empty string for easier grepping for
    those error messages.
    
    We leave the users of dprintk() in place, this will print only
    when the debugpat kernel parameter is enabled. We want to leave
    those enabled as a debug feature, but also make them use the
    same prefix.
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    [ Kill pr_fmt. ]
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Andy Walls <awalls@md.metrocast.net>
    Cc: Bjorn Helgaas <bhelgaas@google.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: Doug Ledford <dledford@redhat.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: cocci@systeme.lip6.fr
    Cc: plagnioj@jcrosoft.com
    Cc: tomi.valkeinen@ti.com
    Link: http://lkml.kernel.org/r/1430425520-22275-2-git-send-email-mcgrof@do-not-panic.com
    Link: http://lkml.kernel.org/r/1432628901-18044-9-git-send-email-bp@alien8.deSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    9e76561f
pat_internal.h 1.42 KB