Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=94ebe164159a620fe2457548554fc9b56501f256
Commit:     94ebe164159a620fe2457548554fc9b56501f256
Parent:     209e9c43ade3938feab8abcc7978c0e17c79cdc3
Author:     Jesper Nilsson <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 28 16:54:51 2008 +0100
Committer:  Jesper Nilsson <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 11:06:38 2008 +0100

    CRIS v32: Add defines for udelay and ndelay in arch-v32/delay.h
    
    Both of these are implemented using cris_delay10ns().
---
 include/asm-cris/arch-v32/delay.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/asm-cris/arch-v32/delay.h 
b/include/asm-cris/arch-v32/delay.h
index b6e941e..e9fda03 100644
--- a/include/asm-cris/arch-v32/delay.h
+++ b/include/asm-cris/arch-v32/delay.h
@@ -1,6 +1,16 @@
 #ifndef _ASM_CRIS_ARCH_DELAY_H
 #define _ASM_CRIS_ARCH_DELAY_H
 
+extern void cris_delay10ns(u32 n10ns);
+#define udelay(u) cris_delay10ns((u)*100)
+#define ndelay(n) cris_delay10ns(((n)+9)/10)
+
+/*
+ * Not used anymore for udelay or ndelay.  Referenced by
+ * e.g. init/calibrate.c.  All other references are likely bugs;
+ * should be replaced by mdelay, udelay or ndelay.
+ */
+
 static inline void
 __delay(int loops)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to