summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/delay.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/delay.h')
-rw-r--r--include/asm-ia64/delay.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/asm-ia64/delay.h b/include/asm-ia64/delay.h
index 57182d6f2b9a..bba702076391 100644
--- a/include/asm-ia64/delay.h
+++ b/include/asm-ia64/delay.h
@@ -84,14 +84,6 @@ __delay (unsigned long loops)
ia64_delay_loop (loops - 1);
}
-static __inline__ void
-udelay (unsigned long usecs)
-{
- unsigned long start = ia64_get_itc();
- unsigned long cycles = usecs*local_cpu_data->cyc_per_usec;
-
- while (ia64_get_itc() - start < cycles)
- cpu_relax();
-}
+extern void udelay (unsigned long usecs);
#endif /* _ASM_IA64_DELAY_H */
OpenPOWER on IntegriCloud