From: Bernhard Walle Date: Thu, 17 Dec 2009 23:27:11 +0000 (-0800) Subject: vt: don't export vt_kmsg_redirect() to userspace X-Git-Tag: v2.6.33-rc1~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0bb2c4238e333ae18c5cd23f75e02a3dac3519;p=pandora-kernel.git vt: don't export vt_kmsg_redirect() to userspace Fix following warning in linux-next by guarding the function definition (both the "extern" and the inline) with #ifdef __KERNEL__. usr/include/linux/vt.h:89: userspace cannot call function or variable defined in the kernel Introduced by commit 5ada918b82399eef3afd6a71e3637697d6bd719f ("vt: introduce and use vt_kmsg_redirect() function"). Signed-off-by: Bernhard Walle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed