|
@@ -730,7 +730,7 @@ static int k_mode_thread(void *arg)
|
|
spin_unlock_irqrestore(&k_lock, flags2);
|
|
spin_unlock_irqrestore(&k_lock, flags2);
|
|
|
|
|
|
expire = jiffies + K_WAIT_TIME;
|
|
expire = jiffies + K_WAIT_TIME;
|
|
- while (jiffies < expire)
|
|
|
|
|
|
+ while (time_before(jiffies, expire))
|
|
schedule_timeout(K_WAIT_TIME);
|
|
schedule_timeout(K_WAIT_TIME);
|
|
|
|
|
|
spin_lock_irqsave(&rx->lock, flags);
|
|
spin_lock_irqsave(&rx->lock, flags);
|