Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b43890af authored by Jesper Nilsson's avatar Jesper Nilsson
Browse files

CRIS: Allow arch dependent delay to override common version.

parent 151f6398
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) */