summaryrefslogtreecommitdiff
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2009-12-17 15:27:11 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 15:45:30 -0800
commit5d0bb2c4238e333ae18c5cd23f75e02a3dac3519 (patch)
tree17c755c117384b3ed568c5f04ec603be9b206198 /fs/nilfs2
parent0f05058531330854ff383237e1547044c67e5740 (diff)
downloadlinux-3.10-5d0bb2c4238e333ae18c5cd23f75e02a3dac3519.tar.gz
linux-3.10-5d0bb2c4238e333ae18c5cd23f75e02a3dac3519.tar.bz2
linux-3.10-5d0bb2c4238e333ae18c5cd23f75e02a3dac3519.zip
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 <bernhard@bwalle.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions