diff options
author | Chris Zankel <czankel@tensilica.com> | 2006-12-13 00:34:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 09:05:50 -0800 |
commit | 1c0350bd0c9b59957760e67516973db35bafa050 (patch) | |
tree | af78ff82f439fdc1d60340cfe253d2840509b0e1 /include/asm-xtensa | |
parent | 8a102eed9c4e1d21bad07a8fd97bd4fbf125d966 (diff) | |
download | kernel_samsung_aries-1c0350bd0c9b59957760e67516973db35bafa050.zip kernel_samsung_aries-1c0350bd0c9b59957760e67516973db35bafa050.tar.gz kernel_samsung_aries-1c0350bd0c9b59957760e67516973db35bafa050.tar.bz2 |
[PATCH] Xtensa: Add ktermios and minor filename fix
The kernel termios (ktermios) changes were somehow missed for Xtensa. This
patch adds the ktermios structure and also includes some minor file name
fix that was missed in the syscall patch.
Signed-off-by: Chris Zankel <chris@zankel.net>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r-- | include/asm-xtensa/termbits.h | 11 | ||||
-rw-r--r-- | include/asm-xtensa/uaccess.h | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-xtensa/termbits.h b/include/asm-xtensa/termbits.h index c780593..057b9a3 100644 --- a/include/asm-xtensa/termbits.h +++ b/include/asm-xtensa/termbits.h @@ -30,6 +30,17 @@ struct termios { cc_t c_cc[NCCS]; /* control characters */ }; +struct ktermios { + tcflag_t c_iflag; /* input mode flags */ + tcflag_t c_oflag; /* output mode flags */ + tcflag_t c_cflag; /* control mode flags */ + tcflag_t c_lflag; /* local mode flags */ + cc_t c_line; /* line discipline */ + cc_t c_cc[NCCS]; /* control characters */ + speed_t c_ispeed; /* input speed */ + speed_t c_ospeed; /* output speed */ +}; + /* c_cc characters */ #define VINTR 0 diff --git a/include/asm-xtensa/uaccess.h b/include/asm-xtensa/uaccess.h index 88a64e1..d6352da 100644 --- a/include/asm-xtensa/uaccess.h +++ b/include/asm-xtensa/uaccess.h @@ -23,7 +23,6 @@ #ifdef __ASSEMBLY__ -#define _ASMLANGUAGE #include <asm/current.h> #include <asm/asm-offsets.h> #include <asm/processor.h> |