]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-generic/termios.h
Merge branch 'linus' into genirq
[linux-2.6-omap-h63xx.git] / include / asm-generic / termios.h
index 3769e6bd63b17e1da41416fe13defc1d7107a0d1..7d39ecc92d9430380ccd00d4be4021932b1db8c3 100644 (file)
@@ -61,8 +61,16 @@ static inline int kernel_termios_to_user_termio(struct termio __user *termio,
        return 0;
 }
 
+#ifndef user_termios_to_kernel_termios
 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios))
+#endif
+
+#ifndef kernel_termios_to_user_termios
 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios))
+#endif
+
+#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 /* __ARCH_TERMIO_GETPUT */