]> git.baikalelectronics.ru Git - kernel.git/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)
commit5040775f7c2a68e023c5b8347c9e3316e029313b
treee528fde48ca3b09168d8879a57fb220195c4e8ea
parent94aebca100463c8a0aafb83df66bb45e0a6469e0
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