summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2022-06-17 16:36:48 +0200
committerPetr Mladek <pmladek@suse.com>2022-06-17 16:36:48 +0200
commit38335cc5ffafa111210ad6bbe5a63a87db38ee68 (patch)
treea317e519b8a46ad7351d23719b34b27b96e4427d /include
parent12831f6486f9db5a8f2c87129f2b8f33349b1e04 (diff)
parentb87f02307d3cfbda768520f0687c51ca77e14fc3 (diff)
downloadlinux-38335cc5ffafa111210ad6bbe5a63a87db38ee68.tar.bz2
Merge branch 'rework/kthreads' into for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/printk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h
index 10ec29bc0135..f88ec15f83dc 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -173,6 +173,7 @@ extern void printk_prefer_direct_enter(void);
extern void printk_prefer_direct_exit(void);
extern bool pr_flush(int timeout_ms, bool reset_on_progress);
+extern void try_block_console_kthreads(int timeout_ms);
/*
* Please don't use printk_ratelimit(), because it shares ratelimiting state
@@ -237,6 +238,10 @@ static inline bool pr_flush(int timeout_ms, bool reset_on_progress)
return true;
}
+static inline void try_block_console_kthreads(int timeout_ms)
+{
+}
+
static inline int printk_ratelimit(void)
{
return 0;