diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-22 00:41:01 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:13:51 +0100 |
commit | 1bd0cd74d102a527b2a72907698d73fad4b82cbd (patch) | |
tree | 2df2dede361dd259b6cd4b91c3ab8d5c783401ac /arch/sparc64/kernel/process.c | |
parent | [SPARC64]: Niagara optimized memset/bzero/clear_user. (diff) | |
download | linux-1bd0cd74d102a527b2a72907698d73fad4b82cbd.tar.xz linux-1bd0cd74d102a527b2a72907698d73fad4b82cbd.zip |
[SPARC64]: Kill cpudata->idle_volume.
Set, but never used.
We used to use this for dynamic IRQ retargetting, but that
code died a long time ago.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/process.c')
-rw-r--r-- | arch/sparc64/kernel/process.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c index d00cb7ad89b9..1ab8283efc4c 100644 --- a/arch/sparc64/kernel/process.c +++ b/arch/sparc64/kernel/process.c @@ -56,6 +56,8 @@ void default_idle(void) { } + + #ifndef CONFIG_SMP /* @@ -104,19 +106,11 @@ void cpu_idle(void) while(1) { if (need_resched()) { - cpuinfo->idle_volume = 0; preempt_enable_no_resched(); schedule(); preempt_disable(); check_pgt_cache(); } - cpuinfo->idle_volume++; - - /* The store ordering is so that IRQ handlers on - * other cpus see our increasing idleness for the buddy - * redistribution algorithm. -DaveM - */ - membar_storeload_storestore(); } } |