]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Dynamic debug: fix pr_fmt() build error
authorGreg Banks <gnb@sgi.com>
Wed, 11 Mar 2009 10:07:28 +0000 (21:07 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:27 +0000 (16:38 -0700)
commite6e66b02e11563abdb7f69dcb7a2efbd8d577e77
treedb93d906bbe7a9b93dce80b8d67341ecad473fa4
parent9898abb3d23311fa227a7f46bf4e40fd2954057f
Dynamic debug: fix pr_fmt() build error

When CONFIG_DYNAMIC_DEBUG is enabled, allow callers of pr_debug()
to provide their own definition of pr_fmt() even if that definition
uses tricks like

#define pr_fmt(fmt) "%s:" fmt, __func__

Signed-off-by: Greg Banks <gnb@sgi.com>
Cc: Jason Baron <jbaron@redhat.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/dynamic_debug.h
include/linux/kernel.h