|
@@ -84,6 +84,8 @@ struct vt_setactivate {
|
|
|
|
|
|
#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
|
|
#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
|
|
|
|
|
|
|
|
+#ifdef __KERNEL__
|
|
|
|
+
|
|
#ifdef CONFIG_VT_CONSOLE
|
|
#ifdef CONFIG_VT_CONSOLE
|
|
|
|
|
|
extern int vt_kmsg_redirect(int new);
|
|
extern int vt_kmsg_redirect(int new);
|
|
@@ -97,6 +99,8 @@ static inline int vt_kmsg_redirect(int new)
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#endif /* __KERNEL__ */
|
|
|
|
+
|
|
#define vt_get_kmsg_redirect() vt_kmsg_redirect(-1)
|
|
#define vt_get_kmsg_redirect() vt_kmsg_redirect(-1)
|
|
|
|
|
|
#endif /* _LINUX_VT_H */
|
|
#endif /* _LINUX_VT_H */
|