summaryrefslogtreecommitdiffstats
path: root/include/linux/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/console.h')
-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 1f4188a78..f8da31cbd 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -16,6 +16,7 @@
#include <linux/types.h>
#include <linux/kdev_t.h>
+#include <linux/spinlock.h>
struct vc_data;
struct console_font_op;
@@ -90,6 +91,8 @@ extern struct console_cmdline console_list[MAX_CMDLINECONSOLES];
#define CON_CONSDEV (2) /* Last on the command line */
#define CON_ENABLED (4)
+extern spinlock_t console_lock;
+
struct console
{
char name[8];