提交 b43890af 编写于 作者: J Jesper Nilsson

CRIS: Allow arch dependent delay to override common version.

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册