summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-21 15:38:41 (GMT)
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 10:06:32 (GMT)
commitb43890af886b14d3052d8b7f9e0b2f8d261dcd7d (patch)
tree9a20e79fe685a0e8428d7c0c4431f0944313d2ca /include
parent151f6398301c30670456efd0c4801aa721d557b9 (diff)
downloadlinux-fsl-qoriq-b43890af886b14d3052d8b7f9e0b2f8d261dcd7d.tar.xz
CRIS: Allow arch dependent delay to override common version.
Diffstat (limited to 'include')
-rw-r--r--include/asm-cris/delay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-cris/delay.h b/include/asm-cris/delay.h
index d3a3978..123e19a 100644
--- a/include/asm-cris/delay.h
+++ b/include/asm-cris/delay.h
@@ -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) */