aboutsummaryrefslogtreecommitdiff
path: root/core/timebase.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/timebase.c')
-rw-r--r--core/timebase.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/timebase.c b/core/timebase.c
index ca961c3..f2dff44 100644
--- a/core/timebase.c
+++ b/core/timebase.c
@@ -66,14 +66,12 @@ void time_wait(unsigned long duration)
void time_wait_nopoll(unsigned long duration)
{
- unsigned long min_sleep = usecs_to_tb(10);
-
if (this_cpu()->tb_invalid) {
cpu_relax();
return;
}
- cpu_idle_delay(duration, min_sleep);
+ cpu_idle_delay(duration);
}
void time_wait_ms(unsigned long ms)