mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
CRIS: Allow arch dependent delay to override common version.
This commit is contained in:
parent
151f639830
commit
b43890af88
1 changed files with 3 additions and 0 deletions
|
@ -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) */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue