aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/termios.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-07-09 14:42:24 -0400
committerTony Luck <tony.luck@intel.com>2007-07-13 19:04:12 -0400
commit788b5f0834ea1566b931cf1ce8424027b3c4caf0 (patch)
tree5c1bd7d885cc15375240cdece7363136923ebf69 /include/asm-ia64/termios.h
parent51b58e3e26ebfb8cd56825c4b396ed251f51dec9 (diff)
[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.h6
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 {
87 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ 87 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
88}) 88})
89 89
90#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) 90#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2))
91#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) 91#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
92#define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios))
93#define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
92 94
93# endif /* __KERNEL__ */ 95# endif /* __KERNEL__ */
94 96