lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: fix up yam for 2.5 locking
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/drivers/net/hamradio/yam.c linux-2.5.67-ac1/drivers/net/hamradio/yam.c
--- linux-2.5.67/drivers/net/hamradio/yam.c 2003-02-15 03:39:31.000000000 +0000
+++ linux-2.5.67-ac1/drivers/net/hamradio/yam.c 2003-04-04 18:12:23.000000000 +0100
@@ -722,7 +722,6 @@
int counter = 100;
int i;

- sti();

for (i = 0; i < NR_PORTS; i++) {
yp = &yam_ports[i];
@@ -768,7 +767,6 @@
off_t pos = 0;
off_t begin = 0;

- cli();

for (i = 0; i < NR_PORTS; i++) {
if (yam_ports[i].iobase == 0 || yam_ports[i].irq == 0)
@@ -803,8 +801,6 @@
break;
}

- sti();
-
*start = buffer + (offset - begin);
len -= (offset - begin);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.044 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site