Commit 581da854 authored by Tony Luck's avatar Tony Luck

[IA64] if idle doesn't halt, it should at least relax

Asit Mallick pointed out that the ia64 idle loop needs a
"hint @pause" instruction in the cases where we don't
actually halt the cpu.
Acked-by: default avatarFenghua Yu <fenghua.yu@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent d99cdb18
......@@ -187,6 +187,8 @@ default_idle (void)
while (!need_resched())
if (pal_halt && !pmu_active)
safe_halt();
else
cpu_relax();
}
#ifdef CONFIG_HOTPLUG_CPU
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment