[PATCH] Xtensa: Add ktermios and minor filename fix
authorChris Zankel <czankel@tensilica.com>
Wed, 13 Dec 2006 08:34:32 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:50 +0000 (09:05 -0800)
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>
arch/xtensa/kernel/Makefile
arch/xtensa/kernel/syscall.c
include/asm-xtensa/termbits.h
include/asm-xtensa/uaccess.h

index d573017a5ddef17187b1eea8dbbd68fb3f61b3cf..71f733c4f66db346b17255c6bbbe798380804f20 100644 (file)
@@ -6,7 +6,7 @@ extra-y := head.o vmlinux.lds
 
 
 obj-y := align.o entry.o irq.o coprocessor.o process.o ptrace.o semaphore.o  \
-        setup.o signal.o syscalls.o time.o traps.o vectors.o platform.o  \
+        setup.o signal.o syscall.o time.o traps.o vectors.o platform.o  \
         pci-dma.o
 
 ## windowspill.o
index 418268f497669add49f91aa35423f01a4356d849..fe3834bc1dbf627a6ecce45c587a2c06e5c77f15 100644 (file)
@@ -16,7 +16,7 @@
  *
  */
 #include <asm/uaccess.h>
-#include <asm/syscalls.h>
+#include <asm/syscall.h>
 #include <asm/unistd.h>
 #include <linux/linkage.h>
 #include <linux/stringify.h>
index c780593ff5f9080a0cd69dccaca80d2f67f40baa..057b9a3d8f83171114c39cd4dfdff2c02ef4e2f7 100644 (file)
@@ -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
index 88a64e1144d5c716b6218770f93189d614977adf..d6352da05b10b9b29660b5121581dc44ae838423 100644 (file)
@@ -23,7 +23,6 @@
 
 #ifdef __ASSEMBLY__
 
-#define _ASMLANGUAGE
 #include <asm/current.h>
 #include <asm/asm-offsets.h>
 #include <asm/processor.h>