aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/termios.h')
-rw-r--r--include/asm-s390/termios.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-s390/termios.h b/include/asm-s390/termios.h
index a3480e2..67f6627 100644
--- a/include/asm-s390/termios.h
+++ b/include/asm-s390/termios.h
@@ -57,6 +57,9 @@ struct termio {
*/
#define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"
+#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))
+
#include <asm-generic/termios.h>
#endif /* __KERNEL__ */