mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
vt: add an activate and lock
X and other graphical interfaces need to be able to flip to a console and lock it into graphics mode without races. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a5eb56242d
commit
d3b5cffcf8
2 changed files with 44 additions and 1 deletions
|
|
@ -77,4 +77,11 @@ struct vt_event {
|
|||
|
||||
#define VT_WAITEVENT 0x560E /* Wait for an event */
|
||||
|
||||
struct vt_setactivate {
|
||||
unsigned int console;
|
||||
struct vt_mode mode;
|
||||
};
|
||||
|
||||
#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
|
||||
|
||||
#endif /* _LINUX_VT_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue