summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-02-18 14:48:39 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-16 17:52:43 -0700
commitc9e379b2ff781abc305a6e093aec8971fcd930c3 (patch)
tree72fa3b74056b1d5c40b8da2e1002d5aa911b10ef /fs
parenta67036940686aa5df75e3c83fb81e53e60821c51 (diff)
vt: Declare PIO_CMAP/GIO_CMAP as compatbile ioctls.
commit 2db69a9340da12a4db44edb7506dd68799aeff55 upstream. Otherwise, these don't work when called from 32-bit userspace on 64-bit kernels. Cc: Jiri Kosina <jkosina@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/compat_ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index c8f8d5904f5e..61cb48fab54c 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1938,6 +1938,8 @@ ULONG_IOCTL(SET_BITMAP_FILE)
/* Big K */
COMPATIBLE_IOCTL(PIO_FONT)
COMPATIBLE_IOCTL(GIO_FONT)
+COMPATIBLE_IOCTL(PIO_CMAP)
+COMPATIBLE_IOCTL(GIO_CMAP)
ULONG_IOCTL(KDSIGACCEPT)
COMPATIBLE_IOCTL(KDGETKEYCODE)
COMPATIBLE_IOCTL(KDSETKEYCODE)