diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-14 05:23:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-16 07:05:02 -0400 |
commit | 8b99cfb8cc51adae7f5294c8962a026c63100959 (patch) | |
tree | 349cebcae3eda608f1ed52fa3afcf661fca075a9 /arch/sparc64/kernel/sparc64_ksyms.c | |
parent | 27a2ef382c7935a4dd02bff9fd361ce118df98c6 (diff) |
[SPARC64]: More sensible udelay implementation.
Take a page from the powerpc folks and just calculate the
delay factor directly.
Since frequency scaling chips use a system-tick register,
the value is going to be the same system-wide.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sparc64_ksyms.c')
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index 51e059e36d47..719d676c2ddc 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -1,7 +1,6 @@ | |||
1 | /* $Id: sparc64_ksyms.c,v 1.121 2002/02/09 19:49:31 davem Exp $ | 1 | /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support. |
2 | * arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support. | ||
3 | * | 2 | * |
4 | * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) | 3 | * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net) |
5 | * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) | 4 | * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) |
6 | * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) | 5 | * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) |
7 | */ | 6 | */ |
@@ -28,7 +27,6 @@ | |||
28 | #include <net/compat.h> | 27 | #include <net/compat.h> |
29 | 28 | ||
30 | #include <asm/oplib.h> | 29 | #include <asm/oplib.h> |
31 | #include <asm/delay.h> | ||
32 | #include <asm/system.h> | 30 | #include <asm/system.h> |
33 | #include <asm/auxio.h> | 31 | #include <asm/auxio.h> |
34 | #include <asm/pgtable.h> | 32 | #include <asm/pgtable.h> |
@@ -326,12 +324,6 @@ EXPORT_SYMBOL(memset); | |||
326 | EXPORT_SYMBOL(memmove); | 324 | EXPORT_SYMBOL(memmove); |
327 | EXPORT_SYMBOL(strncmp); | 325 | EXPORT_SYMBOL(strncmp); |
328 | 326 | ||
329 | /* Delay routines. */ | ||
330 | EXPORT_SYMBOL(__udelay); | ||
331 | EXPORT_SYMBOL(__ndelay); | ||
332 | EXPORT_SYMBOL(__const_udelay); | ||
333 | EXPORT_SYMBOL(__delay); | ||
334 | |||
335 | void VISenter(void); | 327 | void VISenter(void); |
336 | /* RAID code needs this */ | 328 | /* RAID code needs this */ |
337 | EXPORT_SYMBOL(VISenter); | 329 | EXPORT_SYMBOL(VISenter); |