1 #ifndef _ASM_SCORE_DELAY_H
2 #define _ASM_SCORE_DELAY_H
4 #include <asm-generic/param.h>
6 static inline void __delay(unsigned long loops)
8 /* 3 cycles per loop. */
17 static inline void __udelay(unsigned long usecs)
19 unsigned long loops_per_usec;
21 loops_per_usec = (loops_per_jiffy * HZ) / 1000000;
23 __delay(usecs * loops_per_usec);
26 #define udelay(usecs) __udelay(usecs)
28 #endif /* _ASM_SCORE_DELAY_H */