]> git.baikalelectronics.ru Git - kernel.git/commit
vt: selection, create struct from console selection globals
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 07:39:47 +0000 (08:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2020 07:35:39 +0000 (08:35 +0100)
commit1eb82b09b3e33e36931d6c46cf4a6ec9b05b5c79
tree359a1ea7744d7fc2cfd5f8e10cbfb6a88f3c77bf
parent3e78258c118e7d51011428fab36dcd247830f9e8
vt: selection, create struct from console selection globals

Move all the selection global variables to a structure vc_selection,
instantiated as vc_sel. This helps to group all the variables together
and see what should be protected by the embedded lock too.

It might be used later also for per-console selection support.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219073951.16151-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/selection.c