summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-10-08 22:02:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-09 12:23:39 -0700
commitc362c7ff84634390b44cc1ae7808519596de162d (patch)
tree63d9f21344d5552a844688be4a4979e5847804dd /kernel/irq_work.c
parent4bcc595ccd80decb4245096e3d1258989c50ed41 (diff)
downloadlinux-next-c362c7ff84634390b44cc1ae7808519596de162d.tar.gz
printk: split out core logging code into helper function
The code that actually decides how to log the message (whether to put it directly into the record log, whether to append it to an existing buffered log, or whether to start a new buffered log) is fairly non-obvious code in the middle of the vprintk_emit() function. Splitting that code up into a helper function makes it easier to understand, but perhaps more importantly also allows for the code to just return early out of the helper function once it has made the decision about where the new log content goes. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions