s390/s390dbf: add debug_level_enabled() function
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 18 Sep 2013 15:21:34 +0000 (17:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:53 +0000 (17:16 +0200)
commitf1d86b61fb6692c592e937dfb5069e4057855a3b
treeebf8feb3c5067a774492f9b52a87446e8d32853f
parent4ae803253e4649803dc6e972bb5e59fc107cf474
s390/s390dbf: add debug_level_enabled() function

Add the debug_level_enabled() function to check if debug events for
a particular level would be logged.  This might help to save cycles
for debug events that require additional information collection.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Documentation/s390/s390dbf.txt
arch/s390/include/asm/debug.h