Re: [patch 12/18] net/sb1000: replace nicedelay() with msleep_interruptible()
From: Jeff Garzik <hidden>
Date: 2004-10-31 11:05:15
From: Jeff Garzik <hidden>
Date: 2004-10-31 11:05:15
janitor@sternwelten.at wrote:
Any comments would be appreciated. Description: Use msleep_interruptible() instead of nicedelay() to guarantee the task delays as expected. Remove the prototype and definition of nicedelay(). This is a very weird function, because it is called to sleep in terms of usecs, but always sleeps for 1 second, completely ignoring the parameter. I have gone ahead and followed suit, just sleeping for a second in all cases, but maybe someone with the hardware could tell me if perhaps the paramter *should* matter. Also remove a random "^L" character.
use ssleep() here too