aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2019-03-08 00:27:33 +0000
committerLinus Torvalds <[email protected]>2019-03-08 02:32:00 +0000
commit2bdde670beedf73de38b8607f0b1913358af7381 (patch)
tree2ed149d36bb031e518b661aa56b08c3833245ebd /lib/dynamic_debug.c
parentlinux/printk.h: use DYNAMIC_DEBUG_BRANCH in pr_debug_ratelimited (diff)
downloadkernel-2bdde670beedf73de38b8607f0b1913358af7381.tar.gz
kernel-2bdde670beedf73de38b8607f0b1913358af7381.zip
dynamic_debug: consolidate DEFINE_DYNAMIC_DEBUG_METADATA definitions
Instead of defining DEFINE_DYNAMIC_DEBUG_METADATA in terms of a helper DEFINE_DYNAMIC_DEBUG_METADATA_KEY, that needs another helper dd_key_init to be properly defined, just make the various #ifdef branches define a _DPRINTK_KEY_INIT that can be used directly, similar to _DPRINTK_FLAGS_DEFAULT. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Acked-by: Jason Baron <[email protected]> Cc: David Sterba <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Petr Mladek <[email protected]> Cc: "Rafael J . Wysocki" <[email protected]> Cc: Steven Rostedt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions