• Arnd Bergmann's avatar
    x86: convert termios.h to the asm-generic version · 69d5ffda
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    LKML-Reference: <cover.1245354003.git.arnd@arndb.de>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    69d5ffda
termios.h 3.96 KB