]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - include/linux/vt.h
Merge branch 'p-ti-linux-3.8.y' into p-ti-android-3.8.y
[android-sdk/kernel-video.git] / include / linux / vt.h
1 #ifndef _LINUX_VT_H
2 #define _LINUX_VT_H
4 #include <uapi/linux/vt.h>
7 /* Virtual Terminal events. */
8 #define VT_ALLOCATE             0x0001 /* Console got allocated */
9 #define VT_DEALLOCATE           0x0002 /* Console will be deallocated */
10 #define VT_WRITE                0x0003 /* A char got output */
11 #define VT_UPDATE               0x0004 /* A bigger update occurred */
12 #define VT_PREWRITE             0x0005 /* A char is about to be written to the console */
14 #ifdef CONFIG_VT_CONSOLE
16 extern int vt_kmsg_redirect(int new);
18 #else
20 static inline int vt_kmsg_redirect(int new)
21 {
22         return 0;
23 }
25 #endif
27 #endif /* _LINUX_VT_H */