1 #ifndef _ASM_CRIS_ARCH_DELAY_H
2 #define _ASM_CRIS_ARCH_DELAY_H
4 extern void cris_delay10ns(u32 n10ns);
5 #define udelay(u) cris_delay10ns((u)*100)
6 #define ndelay(n) cris_delay10ns(((n)+9)/10)
9 * Not used anymore for udelay or ndelay. Referenced by
10 * e.g. init/calibrate.c. All other references are likely bugs;
11 * should be replaced by mdelay, udelay or ndelay.
17 __asm__ __volatile__ (
25 : : "g" (loops) : "r9");
28 #endif /* _ASM_CRIS_ARCH_DELAY_H */