projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151f639
)
CRIS: Allow arch dependent delay to override common version.
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Mon, 21 Jan 2008 15:38:41 +0000
(16:38 +0100)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:32 +0000
(11:06 +0100)
include/asm-cris/delay.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-cris/delay.h
b/include/asm-cris/delay.h
index d3a39780371993eabf5503b63ffe4432256f35fb..123e19aef49d9cd0644b14be6270698852f23e4d 100644
(file)
--- 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) */