]> err.no Git - linux-2.6/commit
tty: add compat_ioctl
authorPaul Fulghum <paulkf@microgate.com>
Fri, 11 May 2007 05:22:50 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:35 +0000 (08:29 -0700)
commite10cc1df1d2014f68a4bdcf73f6dd122c4561f94
treee528fde48ca3b09168d8879a57fb220195c4e8ea
parent108f39a1b3b1e4b28ca8cc156f06171445499d21
tty: add compat_ioctl

Add compat_ioctl method for tty code to allow processing of 32 bit ioctl
calls on 64 bit systems by tty core, tty drivers, and line disciplines.

Based on patch by Arnd Bergmann:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0511.0/1732.html

[akpm@linux-foundation.org: make things static]
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
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>
drivers/char/n_tty.c
drivers/char/tty_io.c
include/linux/tty_driver.h
include/linux/tty_ldisc.h