This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / media / video / saa5249.c
index 7d5ca87..d486fb7 100644 (file)
@@ -273,7 +273,8 @@ static void jdelay(unsigned long delay)
        sigfillset(&current->blocked);
        recalc_sigpending();
        spin_unlock_irq(&current->sighand->siglock);
-       msleep_interruptible(jiffies_to_msecs(delay));
+       current->state = TASK_INTERRUPTIBLE;
+       schedule_timeout(delay);
 
        spin_lock_irq(&current->sighand->siglock);
        current->blocked = oldblocked;