提交 68952076 编写于 作者: P Peter Hurley 提交者: Greg Kroah-Hartman

vt: Remove vt_get_kmsg_redirect() from uapi header

vt_get_kmsg_redirect() only has meaning to the console driver as
an alias for calling vt_kmsg_redirect(). Move the macro definition
to the only source file which uses it; remove from uapi/linux/vt.h
Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5ac9c05d
......@@ -2509,6 +2509,8 @@ int vt_kmsg_redirect(int new)
return kmsg_con;
}
#define vt_get_kmsg_redirect() vt_kmsg_redirect(-1)
/*
* Console on virtual terminal
*
......
......@@ -84,7 +84,4 @@ struct vt_setactivate {
#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
#define vt_get_kmsg_redirect() vt_kmsg_redirect(-1)
#endif /* _UAPI_LINUX_VT_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册