diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /include/linux/vt.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'include/linux/vt.h')
-rw-r--r-- | include/linux/vt.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/vt.h b/include/linux/vt.h index 7ffa11f06232..d5dd0bc408fd 100644 --- a/include/linux/vt.h +++ b/include/linux/vt.h | |||
@@ -84,4 +84,23 @@ struct vt_setactivate { | |||
84 | 84 | ||
85 | #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ | 85 | #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ |
86 | 86 | ||
87 | #ifdef __KERNEL__ | ||
88 | |||
89 | #ifdef CONFIG_VT_CONSOLE | ||
90 | |||
91 | extern int vt_kmsg_redirect(int new); | ||
92 | |||
93 | #else | ||
94 | |||
95 | static inline int vt_kmsg_redirect(int new) | ||
96 | { | ||
97 | return 0; | ||
98 | } | ||
99 | |||
100 | #endif | ||
101 | |||
102 | #endif /* __KERNEL__ */ | ||
103 | |||
104 | #define vt_get_kmsg_redirect() vt_kmsg_redirect(-1) | ||
105 | |||
87 | #endif /* _LINUX_VT_H */ | 106 | #endif /* _LINUX_VT_H */ |