diff options
| author | Matthew Wilcox <matthew@wil.cx> | 2004-12-15 19:58:56 -0800 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2004-12-15 19:58:56 -0800 |
| commit | 02a26c3e558582c1bd391fb758a776565784e1c3 (patch) | |
| tree | a5bdc58ee0d0e280b502719990138a1d43bb9b6e /include | |
| parent | a738e9900007a08fba0f21dfeafb1889b9f54e56 (diff) | |
[IA64]delay.h: udelay() should call cpu_relax()
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ia64/delay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/delay.h b/include/asm-ia64/delay.h index aa627cfd88f5..57182d6f2b9a 100644 --- a/include/asm-ia64/delay.h +++ b/include/asm-ia64/delay.h @@ -91,7 +91,7 @@ udelay (unsigned long usecs) unsigned long cycles = usecs*local_cpu_data->cyc_per_usec; while (ia64_get_itc() - start < cycles) - /* skip */; + cpu_relax(); } #endif /* _ASM_IA64_DELAY_H */ |
