|
@@ -643,7 +643,7 @@ static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg)
|
|
uint8_t count = U8((*ptr)++);
|
|
uint8_t count = U8((*ptr)++);
|
|
SDEBUG(" count: %d\n", count);
|
|
SDEBUG(" count: %d\n", count);
|
|
if (arg == ATOM_UNIT_MICROSEC)
|
|
if (arg == ATOM_UNIT_MICROSEC)
|
|
- schedule_timeout_uninterruptible(usecs_to_jiffies(count));
|
|
|
|
|
|
+ udelay(count);
|
|
else
|
|
else
|
|
schedule_timeout_uninterruptible(msecs_to_jiffies(count));
|
|
schedule_timeout_uninterruptible(msecs_to_jiffies(count));
|
|
}
|
|
}
|