summaryrefslogtreecommitdiff
path: root/kernel/watchdog_hld.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-04-21 23:28:46 +0206
committerPetr Mladek <pmladek@suse.com>2022-04-22 21:30:58 +0200
commit3b604ca81202eea2a917eb6491e90f610fba0ec7 (patch)
tree553f119d8bed892bed778c99e11faaaadf119cd6 /kernel/watchdog_hld.c
parent03a749e628fdbc665d7f9712637f880a79da8b78 (diff)
printk: add pr_flush()
Provide a might-sleep function to allow waiting for console printers to catch up to the latest logged message. Use pr_flush() whenever it is desirable to get buffered messages printed before continuing: suspend_console(), resume_console(), console_stop(), console_start(), console_unblank(). Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20220421212250.565456-12-john.ogness@linutronix.de
Diffstat (limited to 'kernel/watchdog_hld.c')
0 files changed, 0 insertions, 0 deletions