Skip to content

Commit

Permalink
CRIS: Allow arch dependent delay to override common version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 151f639 commit b43890a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-cris/delay.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */

Expand Down

0 comments on commit b43890a

Please sign in to comment.