Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / vt.h
blob9820ae4f99ab7def4821e9ccab4dd0a2bc03f065
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_VT_H
3 #define _LINUX_VT_H
5 #include <uapi/linux/vt.h>
8 /* Virtual Terminal events. */
9 #define VT_ALLOCATE 0x0001 /* Console got allocated */
10 #define VT_DEALLOCATE 0x0002 /* Console will be deallocated */
11 #define VT_WRITE 0x0003 /* A char got output */
12 #define VT_UPDATE 0x0004 /* A bigger update occurred */
13 #define VT_PREWRITE 0x0005 /* A char is about to be written to the console */
15 #ifdef CONFIG_VT_CONSOLE
17 extern int vt_kmsg_redirect(int new);
19 #else
21 static inline int vt_kmsg_redirect(int new)
23 return 0;
26 #endif
28 #endif /* _LINUX_VT_H */