x86: convert termios.h to the asm-generic version
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Jun 2009 19:48:19 +0000 (21:48 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Jun 2009 21:39:58 +0000 (14:39 -0700)
commit69d5ffdaad7b77b97229b55c36afb20e5bebd29e
treece7f174f423bd84bd974abd3b8c6b9ae94fdc6cf
parent06f5013aa8eb5895ced2c71d13f5114103605555
x86: convert termios.h to the asm-generic version

This patch turned out more controversial than expected
and may get dropped in the future. I'm including it
for reference anyway.

The user_termio_to_kernel_termios and kernel_termios_to_user_termio
functions on x86 are lacking error checking from get_user and
are not portable to big-endian systems, so the asm-generic
header has to differ in this regard.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
LKML-Reference: <cover.1245354003.git.arnd@arndb.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/termios.h