]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-s390/termios.h
x86: introduce /dev/mem restrictions with a config option
[linux-2.6-omap-h63xx.git] / include / asm-s390 / termios.h
index a3480e25eb4b3ff2af0f388227d924c8326ba1d6..67f66278f533f8706d5467560530a164c63121cf 100644 (file)
@@ -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__ */