git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
ia64
/
hp
/
sim
/
simserial.c
diff --git
a/arch/ia64/hp/sim/simserial.c
b/arch/ia64/hp/sim/simserial.c
index
0e5c6ae
..
626cdc8
100644
(file)
--- a/
arch/ia64/hp/sim/simserial.c
+++ b/
arch/ia64/hp/sim/simserial.c
@@
-46,6
+46,11
@@
#define KEYBOARD_INTR 3 /* must match with simulator! */
#define NR_PORTS 1 /* only one port for now */
#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)
#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);
}
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;
{
int count;
unsigned long flags;