]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix ktermios-termio conversion
authorArnd Bergmann <arnd@arndb.de>
Thu, 11 Jun 2009 11:42:49 +0000 (12:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:50:59 +0000 (08:50 -0700)
commitbfa93071074c77c2985c99d7f28a573cf620f04c
treeeafeb5d332b15691f0334aa78cfb707f3ed27c33
parentf23e8bda48082389475a8c4aae82f3ee69de7722
x86: fix ktermios-termio conversion

The legacy TCSETA{,W,F} ioctls failed to set the termio->c_line field
on x86. This adds a missing get_user.

The same ioctls also fail to report faulting user pointers, which
we keep ignoring.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/termios.h