]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial_core.h
[PATCH] Zone reclaim: proc override
[linux-2.6-omap-h63xx.git] / include / linux / serial_core.h
index e3710d7e260aa6d31b6d5f46f811ca49f3c65b86..ec351005bf9d9ccb5c521a9048dfdcad7c2db57b 100644 (file)
@@ -67,6 +67,9 @@
 /* Parisc type numbers. */
 #define PORT_MUX       48
 
+/* Atmel AT91RM9200 SoC */
+#define PORT_AT91RM9200 49
+
 /* Macintosh Zilog type numbers */
 #define PORT_MAC_ZILOG 50      /* m68k : not yet implemented */
 #define PORT_PMAC_ZILOG        51
 #include <linux/spinlock.h>
 #include <linux/sched.h>
 #include <linux/tty.h>
+#include <linux/mutex.h>
 
 struct uart_port;
 struct uart_info;
@@ -281,7 +285,7 @@ struct uart_state {
        struct uart_info        *info;
        struct uart_port        *port;
 
-       struct semaphore        sem;
+       struct mutex            mutex;
 };
 
 #define UART_XMIT_SIZE PAGE_SIZE