]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 15 Oct 2013 12:45:30 +0000 (14:45 +0200)
commitefff3d047f241cdda46ba3fd637f11ab20bd8e96
tree1fc2c295406efd24c8c6048c1057998f059fb4b3
parent5b6ea2393441d2ef7973e15aaf1b93b189e7eddd
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