summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-01-04 05:20:24 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:20:24 -0800
commit4236031c5f7976363e177aace4e15a2859b297e9 (patch)
tree5b4da1a486fa9056366bdb352f7894134fe70bc6 /include/linux
parent2c71699cb3163591ba79e80fe2219bdc5087c709 (diff)
[PATCH] FRV: Make calibrate_delay() optional
The attached patch makes calibrate_delay() optional. In this architecture, it's a waste of time since we can predict exactly what it's going to come up with just by looking at the CPU's hardware clock registers. Thus far, we haven't seen a board with any clock not dependent on the CPU's clock. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/delay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/delay.h b/include/linux/delay.h
index 5c43c336c849..acb74865b973 100644
--- a/include/linux/delay.h
+++ b/include/linux/delay.h
@@ -38,6 +38,7 @@ extern unsigned long loops_per_jiffy;
#define ndelay(x) udelay(((x)+999)/1000)
#endif
+void calibrate_delay(void);
void msleep(unsigned int msecs);
unsigned long msleep_interruptible(unsigned int msecs);