summaryrefslogtreecommitdiffstats
path: root/include/linux/console.h
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2022-06-23 19:11:28 +0200
committerPetr Mladek <pmladek@suse.com>2022-06-23 19:11:28 +0200
commit51889d225ce2ce118d8413eb4282045add81a689 (patch)
tree90266007a2a99150c9870c0df9ec14288f2ba7cc /include/linux/console.h
parent93d17c1c8c1cc987aad378d5266d99e46efca43c (diff)
parent07a22b61946f0b80065b0ddcc703b715f84355f5 (diff)
downloadcachepc-linux-51889d225ce2ce118d8413eb4282045add81a689.tar.gz
cachepc-linux-51889d225ce2ce118d8413eb4282045add81a689.zip
Merge branch 'rework/kthreads' into for-linus
Diffstat (limited to 'include/linux/console.h')
-rw-r--r--include/linux/console.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index 143653090c48..8c1686e2c233 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -16,7 +16,6 @@
#include <linux/atomic.h>
#include <linux/types.h>
-#include <linux/mutex.h>
struct vc_data;
struct console_font_op;
@@ -154,22 +153,6 @@ struct console {
uint ospeed;
u64 seq;
unsigned long dropped;
- struct task_struct *thread;
- bool blocked;
-
- /*
- * The per-console lock is used by printing kthreads to synchronize
- * this console with callers of console_lock(). This is necessary in
- * order to allow printing kthreads to run in parallel to each other,
- * while each safely accessing the @blocked field and synchronizing
- * against direct printing via console_lock/console_unlock.
- *
- * Note: For synchronizing against direct printing via
- * console_trylock/console_unlock, see the static global
- * variable @console_kthreads_active.
- */
- struct mutex lock;
-
void *data;
struct console *next;
};