/[linux-patches]/genpatches-2.6/tags/2.6.31-8/1002_linux-2.6.31.3.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.31-8/1002_linux-2.6.31.3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1640 - (show annotations) (download)
Tue Dec 8 22:17:18 2009 UTC (8 years, 10 months ago) by mpagano
File size: 790 byte(s)
2.6.31-8 release
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 */

  ViewVC Help
Powered by ViewVC 1.1.20