linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / ia64 / hp / sim / simserial.c
index 0e5c6ae..626cdc8 100644 (file)
 #define KEYBOARD_INTR  3       /* must match with simulator! */
 
 #define NR_PORTS       1       /* only one port for now */
+#define SERIAL_INLINE  1
+
+#ifdef SERIAL_INLINE
+#define _INLINE_ inline
+#endif
 
 #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? SA_SHIRQ : SA_INTERRUPT)
 
@@ -232,7 +237,7 @@ static void rs_put_char(struct tty_struct *tty, unsigned char ch)
        local_irq_restore(flags);
 }
 
-static void transmit_chars(struct async_struct *info, int *intr_done)
+static _INLINE_ void transmit_chars(struct async_struct *info, int *intr_done)
 {
        int count;
        unsigned long flags;