Commit 02a26c3e authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Tony Luck

[IA64]delay.h: udelay() should call cpu_relax()

Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent a738e990
...@@ -91,7 +91,7 @@ udelay (unsigned long usecs) ...@@ -91,7 +91,7 @@ udelay (unsigned long usecs)
unsigned long cycles = usecs*local_cpu_data->cyc_per_usec; unsigned long cycles = usecs*local_cpu_data->cyc_per_usec;
while (ia64_get_itc() - start < cycles) while (ia64_get_itc() - start < cycles)
/* skip */; cpu_relax();
} }
#endif /* _ASM_IA64_DELAY_H */ #endif /* _ASM_IA64_DELAY_H */
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