[PATCH] vt: add TIOCL_GETKMSGREDIRECT
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 31 Mar 2006 10:30:58 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:56 +0000 (12:18 -0800)
commit0ca07731e495584bd84dca15a0f065470d594ec4
treed043e8b64b43361051e1e6b40ee37382591825df
parentd32af0fe11b1618572389723e93cf33a4cc11c81
[PATCH] vt: add TIOCL_GETKMSGREDIRECT

Add TIOCL_GETKMSGREDIRECT needed by the userland suspend tool to get the
current value of kmsg_redirect from the kernel so that it can save it and
restore it after resume.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/vt.c
include/linux/tiocl.h