aboutsummaryrefslogtreecommitdiff
path: root/core/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cpu.c')
-rw-r--r--core/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cpu.c b/core/cpu.c
index 6f78461..495f7bf 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -402,10 +402,11 @@ void cpu_idle_job(void)
}
}
-void cpu_idle_delay(unsigned long delay, unsigned long min_pm)
+void cpu_idle_delay(unsigned long delay)
{
unsigned long now = mftb();
unsigned long end = now + delay;
+ unsigned long min_pm = usecs_to_tb(10);
if (pm_enabled && delay > min_pm) {
for (;;) {