]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS: Allow arch dependent delay to override common version.
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 21 Jan 2008 15:38:41 +0000 (16:38 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:32 +0000 (11:06 +0100)
include/asm-cris/delay.h

index d3a39780371993eabf5503b63ffe4432256f35fb..123e19aef49d9cd0644b14be6270698852f23e4d 100644 (file)
 
 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) */