X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-s390%2Ftermios.h;h=67f66278f533f8706d5467560530a164c63121cf;hb=8a392625b665c676a77c62f8608d10ff430bcb83;hp=a3480e25eb4b3ff2af0f388227d924c8326ba1d6;hpb=b312362be6d9155b66f3a26d9159e0a680fbd6c5;p=mv-sheeva.git diff --git a/include/asm-s390/termios.h b/include/asm-s390/termios.h index a3480e25eb4..67f66278f53 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 #endif /* __KERNEL__ */