summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2023-09-04 11:37:37 +0200
committerPetr Mladek <pmladek@suse.com>2023-09-04 11:37:37 +0200
commitf0f692395353b99a54f7f6e5a8684d73af504879 (patch)
tree3725700932e1782a10a2fe52dc8d262ad9520a4a /include
parentb355362845704f66c486ecd6b789d9246e990f18 (diff)
parent132a90d1527fedba2d95085c951ccf00dbbebe41 (diff)
downloadlwn-f0f692395353b99a54f7f6e5a8684d73af504879.tar.gz
lwn-f0f692395353b99a54f7f6e5a8684d73af504879.zip
Merge branch 'rework/misc-cleanups' into for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/console.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index d3195664baa5..7de11c763eb3 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -154,6 +154,8 @@ static inline int con_debug_leave(void)
* receiving the printk spam for obvious reasons.
* @CON_EXTENDED: The console supports the extended output format of
* /dev/kmesg which requires a larger output buffer.
+ * @CON_SUSPENDED: Indicates if a console is suspended. If true, the
+ * printing callbacks must not be called.
*/
enum cons_flags {
CON_PRINTBUFFER = BIT(0),
@@ -163,6 +165,7 @@ enum cons_flags {
CON_ANYTIME = BIT(4),
CON_BRL = BIT(5),
CON_EXTENDED = BIT(6),
+ CON_SUSPENDED = BIT(7),
};
/**