rpms/kernel/F-11 linux-2.6-drivers-char-low-latency-removal.patch, NONE, 1.1 kernel.spec, 1.1656, 1.1657

Chuck Ebbert cebbert at fedoraproject.org
Sat Jun 20 09:20:39 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20148

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-drivers-char-low-latency-removal.patch 
Log Message:
Add linux-2.6-drivers-char-low-latency-removal.patch
  to fix oops in nozomi driver (#507005)

linux-2.6-drivers-char-low-latency-removal.patch:

--- NEW FILE linux-2.6-drivers-char-low-latency-removal.patch ---
Remove low_latency flag setting from drivers/char/.

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>

--- 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 
 	if (retval)
 		return retval;
 
-	/* unmark here for very high baud rate (ex. 921600 bps) used */
-	tty->low_latency = 1;
 	return 0;
 }
 
--- linux-2.6.30.noarch.orig/drivers/char/pcmcia/ipwireless/tty.c
+++ linux-2.6.30.noarch/drivers/char/pcmcia/ipwireless/tty.c
@@ -134,7 +134,6 @@ static int ipw_open(struct tty_struct *l
 
 	tty->linux_tty = linux_tty;
 	linux_tty->driver_data = tty;
-	linux_tty->low_latency = 1;
 
 	if (tty->tty_type == TTYTYPE_MODEM)
 		ipwireless_ppp_open(tty->network);


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1656
retrieving revision 1.1657
diff -u -p -r1.1656 -r1.1657
--- kernel.spec	18 Jun 2009 00:26:57 -0000	1.1656
+++ kernel.spec	20 Jun 2009 09:20:07 -0000	1.1657
@@ -647,6 +647,7 @@ Patch457: linux-2.6-input-bcm5974-add-ma
 
 Patch470: linux-2.6-serial-460800.patch
 Patch471: linux-2.6-serial-add-txen-test-param.patch
+Patch472: linux-2.6-drivers-char-low-latency-removal.patch
 
 # 8192 too low
 Patch480: increase-MAX_LOCKDEP_ENTRIES.patch
@@ -1336,6 +1337,8 @@ ApplyPatch linux-2.6-input-bcm5974-add-m
 ApplyPatch linux-2.6-serial-460800.patch
 # let users skip the TXEN bug test
 ApplyPatch linux-2.6-serial-add-txen-test-param.patch
+# fix oops in nozomi drver (#507005) plus two others
+ApplyPatch linux-2.6-drivers-char-low-latency-removal.patch
 
 ApplyPatch increase-MAX_LOCKDEP_ENTRIES.patch
 
@@ -2070,6 +2073,10 @@ fi
 # and build.
 
 %changelog
+* Sat Jun 20 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29.5-195
+- Add linux-2.6-drivers-char-low-latency-removal.patch
+  to fix oops in nozomi driver (#507005)
+
 * Thu Jun 18 2009 Ben Skeggs <bskeggs at redhat.com> 2.6.29.5-194
 - drm-nouveau.patch: un-break DPMS after DRM changes
 




More information about the fedora-extras-commits mailing list