x86: fix ktermios-termio conversion
authorArnd Bergmann <[email protected]>
Thu, 11 Jun 2009 11:42:49 +0000 (12:42 +0100)
committerLinus Torvalds <[email protected]>
Thu, 11 Jun 2009 15:50:59 +0000 (08:50 -0700)
commit5b0ed5263cb089500052f8c1ab6e0706bebf0d83
treeeafeb5d332b15691f0334aa78cfb707f3ed27c33
parent70fd8fdecc4430ffcede7704dd812d4054d1faf9
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 <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/include/asm/termios.h