diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-14 09:23:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-16 11:05:02 (GMT) |
commit | 8b99cfb8cc51adae7f5294c8962a026c63100959 (patch) | |
tree | 349cebcae3eda608f1ed52fa3afcf661fca075a9 /include/asm-sparc64/bugs.h | |
parent | 27a2ef382c7935a4dd02bff9fd361ce118df98c6 (diff) | |
download | linux-fsl-qoriq-8b99cfb8cc51adae7f5294c8962a026c63100959.tar.xz |
[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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-sparc64/bugs.h b/include/asm-sparc64/bugs.h index bf39d86..11ade68 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(); } |