CRIS: Allow arch dependent delay to override common version.

This commit is contained in:
Jesper Nilsson 2008-01-21 16:38:41 +01:00
parent 151f639830
commit b43890af88

View file

@ -13,10 +13,13 @@
extern unsigned long loops_per_usec; /* arch/cris/mm/init.c */
/* May be defined by arch/delay.h. */
#ifndef udelay
static inline void udelay(unsigned long usecs)
{
__delay(usecs * loops_per_usec);
}
#endif
#endif /* defined(_CRIS_DELAY_H) */