All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [PATCH] eicon/capifunc: replace
@ 2004-07-23 17:36 Nishanth Aravamudan
  0 siblings, 0 replies; only message in thread
From: Nishanth Aravamudan @ 2004-07-23 17:36 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

I would appreciate any comments from the janitors list.

Thanks,
Nish



Applys-to: 2.6.7

Description: Replace diva_os_sleep() with msleep() in all instances. 

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>


--- linux-vanilla/drivers/isdn/hardware/eicon/capifunc.c	2004-06-16 05:19:52.000000000 +0000
+++ linux-dev/drivers/isdn/hardware/eicon/capifunc.c	2004-07-02 18:04:10.000000000 +0000
@@ -696,7 +696,7 @@ static int diva_add_card(DESCRIPTOR * d)
 	while (i++ < 30) {
 		if (a->automatic_law > 3)
 			break;
-		diva_os_sleep(10);
+		msleep(10);
 	}
 
 	/* profile information */
@@ -1170,7 +1170,7 @@ static void do_api_remove_start(void)
 		ret = api_remove_start();
 		diva_os_leave_spin_lock(&api_lock, &old_irql, "api remove start");
 
-		diva_os_sleep(10);
+		msleep(10);
 	} while (ret && count--);
 
 	if (ret)

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-23 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 17:36 [Kernel-janitors] [PATCH] eicon/capifunc: replace Nishanth Aravamudan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.