diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-05-15 01:21:54 +0200 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2008-05-15 16:38:54 +0200 |
commit | 9e491e54f0589cc26e2c096664e9d95493b1af29 (patch) | |
tree | 6c4f17d4a6d699c48f2f53b31ebdf47cd2765121 /include/asm-parisc/termios.h | |
parent | parisc: fix trivial section name warnings (diff) | |
download | linux-9e491e54f0589cc26e2c096664e9d95493b1af29.tar.xz linux-9e491e54f0589cc26e2c096664e9d95493b1af29.zip |
parisc: new termios definitions
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to '')
-rw-r--r-- | include/asm-parisc/termios.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-parisc/termios.h b/include/asm-parisc/termios.h index 5345b3420475..a2a57a4548af 100644 --- a/include/asm-parisc/termios.h +++ b/include/asm-parisc/termios.h @@ -80,8 +80,10 @@ struct termio { copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \ }) -#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) -#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) +#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)) +#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 /* __KERNEL__ */ |