diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-09 11:42:24 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-07-13 16:04:12 -0700 |
commit | 788b5f0834ea1566b931cf1ce8424027b3c4caf0 (patch) | |
tree | 5c1bd7d885cc15375240cdece7363136923ebf69 /include/asm-ia64/termios.h | |
parent | 51b58e3e26ebfb8cd56825c4b396ed251f51dec9 (diff) | |
download | linux-788b5f0834ea1566b931cf1ce8424027b3c4caf0.tar.gz linux-788b5f0834ea1566b931cf1ce8424027b3c4caf0.tar.bz2 linux-788b5f0834ea1566b931cf1ce8424027b3c4caf0.zip |
[IA64] arbitary speed tty ioctl support
Add the needed constants and defines to activate this for the IA64
platform.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/termios.h')
-rw-r--r-- | include/asm-ia64/termios.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ia64/termios.h b/include/asm-ia64/termios.h index 08750c2d3607..689d218c0c28 100644 --- a/include/asm-ia64/termios.h +++ b/include/asm-ia64/termios.h @@ -87,8 +87,10 @@ struct termio { copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ }) -#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) -#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) +#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) +#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) +#define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) +#define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) # endif /* __KERNEL__ */ |