Magellan Linux

Contents of /trunk/kernel26-mcore/patches-2.6.31-r1/0102-2.6.31.3-all-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 973 - (show annotations) (download)
Tue Jan 5 09:57:31 2010 UTC (14 years, 3 months ago) by niro
File size: 790 byte(s)
-2.6.31-mcore-r1

1 diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c
2 index 549bd0f..fa4ce67 100644
3 --- a/drivers/char/tty_port.c
4 +++ b/drivers/char/tty_port.c
5 @@ -99,7 +99,7 @@ EXPORT_SYMBOL(tty_port_tty_set);
6 static void tty_port_shutdown(struct tty_port *port)
7 {
8 if (port->ops->shutdown &&
9 - test_and_clear_bit(ASYNC_INITIALIZED, &port->flags))
10 + test_and_clear_bit(ASYNCB_INITIALIZED, &port->flags))
11 port->ops->shutdown(port);
12
13 }
14 @@ -309,7 +309,7 @@ int tty_port_close_start(struct tty_port *port, struct tty_struct *tty, struct f
15 port->ops->drop(port);
16 return 0;
17 }
18 - set_bit(ASYNC_CLOSING, &port->flags);
19 + set_bit(ASYNCB_CLOSING, &port->flags);
20 tty->closing = 1;
21 spin_unlock_irqrestore(&port->lock, flags);
22 /* Don't block on a stalled port, just pull the chain */