1 #ifndef _ASM_SCORE_DELAY_H
2 #define _ASM_SCORE_DELAY_H
4 static inline void __delay(unsigned long loops
)
6 /* 3 cycles per loop. */
15 static inline void __udelay(unsigned long usecs
)
17 unsigned long loops_per_usec
;
19 loops_per_usec
= (loops_per_jiffy
* HZ
) / 1000000;
21 __delay(usecs
* loops_per_usec
);
24 #define udelay(usecs) __udelay(usecs)
26 #endif /* _ASM_SCORE_DELAY_H */