summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/bugs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-14 02:23:37 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-16 04:05:02 -0700
commit8b99cfb8cc51adae7f5294c8962a026c63100959 (patch)
tree349cebcae3eda608f1ed52fa3afcf661fca075a9 /include/asm-sparc64/bugs.h
parent27a2ef382c7935a4dd02bff9fd361ce118df98c6 (diff)
downloadlinux-8b99cfb8cc51adae7f5294c8962a026c63100959.tar.gz
linux-8b99cfb8cc51adae7f5294c8962a026c63100959.tar.bz2
linux-8b99cfb8cc51adae7f5294c8962a026c63100959.zip
[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 'include/asm-sparc64/bugs.h')
-rw-r--r--include/asm-sparc64/bugs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-sparc64/bugs.h b/include/asm-sparc64/bugs.h
index bf39d86c0c9e..11ade6841971 100644
--- a/include/asm-sparc64/bugs.h
+++ b/include/asm-sparc64/bugs.h
@@ -4,12 +4,7 @@
*/
#include <asm/sstate.h>
-extern unsigned long loops_per_jiffy;
-
static void __init check_bugs(void)
{
-#ifndef CONFIG_SMP
- cpu_data(0).udelay_val = loops_per_jiffy;
-#endif
sstate_running();
}