summaryrefslogtreecommitdiffstats
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorMartin Hostettler2018-12-15 15:34:20 +0100
committerGreg Kroah-Hartman2019-01-18 13:52:41 +0100
commit2ff5c5a1dc6e6c502e0a3e49db4e792804e43693 (patch)
tree95f356fe36dc6ffa2ab14d6ef12c385cdf375d76 /include/linux/console_struct.h
parentvt: annotate implicit fall throughs (diff)
downloadkernel-qcow2-linux-2ff5c5a1dc6e6c502e0a3e49db4e792804e43693.tar.gz
kernel-qcow2-linux-2ff5c5a1dc6e6c502e0a3e49db4e792804e43693.tar.xz
kernel-qcow2-linux-2ff5c5a1dc6e6c502e0a3e49db4e792804e43693.zip
vt: refactor vc_ques to allow of other private sequences.
The vc_ques keeps track if a csi sequence is a private DEC control function beginning with '?'. Nowadays some private control functions begin with '>' and '='. Switch the code to instead use a new 3-bit vc_priv that allows for all private use parameter prefixes. Signed-off-by: Martin Hostettler <textshell@uchuujin.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/console_struct.h')
-rw-r--r--include/linux/console_struct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h
index ab137f97ecbd..ed798e114663 100644
--- a/include/linux/console_struct.h
+++ b/include/linux/console_struct.h
@@ -119,7 +119,7 @@ struct vc_data {
unsigned int vc_s_blink : 1;
unsigned int vc_s_reverse : 1;
/* misc */
- unsigned int vc_ques : 1;
+ unsigned int vc_priv : 3;
unsigned int vc_need_wrap : 1;
unsigned int vc_can_do_color : 1;
unsigned int vc_report_mouse : 2;