Commit b43890af authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS: Allow arch dependent delay to override common version.

parent 151f6398
...@@ -13,10 +13,13 @@ ...@@ -13,10 +13,13 @@
extern unsigned long loops_per_usec; /* arch/cris/mm/init.c */ 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) static inline void udelay(unsigned long usecs)
{ {
__delay(usecs * loops_per_usec); __delay(usecs * loops_per_usec);
} }
#endif
#endif /* defined(_CRIS_DELAY_H) */ #endif /* defined(_CRIS_DELAY_H) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment