rpms/kernel/F-11 linux-2.6-drivers-char-low-latency-removal.patch, 1.4, 1.5
Chuck Ebbert
cebbert at fedoraproject.org
Tue Aug 18 14:39:15 UTC 2009
- Previous message (by thread): rpms/fityk/devel .cvsignore, 1.2, 1.3 fityk.spec, 1.8, 1.9 sources, 1.2, 1.3 fityk-gcc43.patch, 1.1, NONE
- Next message (by thread): rpms/gutenprint/devel gutenprint.spec,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28788
Modified Files:
linux-2.6-drivers-char-low-latency-removal.patch
Log Message:
replace with upstream patch for -stable
linux-2.6-drivers-char-low-latency-removal.patch:
mxser.c | 2 --
nozomi.c | 2 --
2 files changed, 4 deletions(-)
Index: linux-2.6-drivers-char-low-latency-removal.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/linux-2.6-drivers-char-low-latency-removal.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- linux-2.6-drivers-char-low-latency-removal.patch 10 Aug 2009 19:32:52 -0000 1.4
+++ linux-2.6-drivers-char-low-latency-removal.patch 18 Aug 2009 14:39:14 -0000 1.5
@@ -1,24 +1,26 @@
From: Chuck Ebbert <cebbert at redhat.com>
+Date: Wed, 24 Jun 2009 17:35:13 +0000 (+0100)
+Subject: Remove low_latency flag setting from nozomi and mxser drivers
+X-Git-Tag: v2.6.31-rc1~16
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=4d8d4d251df8eaaa3dae71c8cfa7fbf4510d967d
+
Remove low_latency flag setting from nozomi and mxser drivers
The kernel oopses if this flag is set.
+[and neither driver should set it as they call tty_flip_buffer_push from IRQ
+ paths so have always been buggy]
+
Signed-off-by: Chuck Ebbert <cebbert at redhat.com>
+Signed-off-by: Alan Cox <alan at linux.intel.com>
+Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
+---
---- linux-2.6.30.noarch.orig/drivers/char/nozomi.c
-+++ linux-2.6.30.noarch/drivers/char/nozomi.c
-@@ -1591,8 +1591,6 @@ static int ntty_open(struct tty_struct *
-
- /* Enable interrupt downlink for channel */
- if (port->port.count == 1) {
-- /* FIXME: is this needed now ? */
-- tty->low_latency = 1;
- tty->driver_data = port;
- tty_port_tty_set(&port->port, tty);
- DBG1("open: %d", port->token_dl);
---- linux-2.6.30.noarch.orig/drivers/char/mxser.c
-+++ linux-2.6.30.noarch/drivers/char/mxser.c
-@@ -1048,8 +1048,6 @@ static int mxser_open(struct tty_struct
+diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
+index 9533f43..52d953e 100644
+--- a/drivers/char/mxser.c
++++ b/drivers/char/mxser.c
+@@ -1048,8 +1048,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
if (retval)
return retval;
@@ -27,3 +29,16 @@ Signed-off-by: Chuck Ebbert <cebbert at red
return 0;
}
+diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
+index d6102b6..574f1c7 100644
+--- a/drivers/char/nozomi.c
++++ b/drivers/char/nozomi.c
+@@ -1591,8 +1591,6 @@ static int ntty_open(struct tty_struct *tty, struct file *file)
+
+ /* Enable interrupt downlink for channel */
+ if (port->port.count == 1) {
+- /* FIXME: is this needed now ? */
+- tty->low_latency = 1;
+ tty->driver_data = port;
+ tty_port_tty_set(&port->port, tty);
+ DBG1("open: %d", port->token_dl);
- Previous message (by thread): rpms/fityk/devel .cvsignore, 1.2, 1.3 fityk.spec, 1.8, 1.9 sources, 1.2, 1.3 fityk-gcc43.patch, 1.1, NONE
- Next message (by thread): rpms/gutenprint/devel gutenprint.spec,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list