summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-09-11 07:24:10 +0000
committermav <mav@FreeBSD.org>2010-09-11 07:24:10 +0000
commit4687e7f394abae63c19cd4d10e516b0d1ee80508 (patch)
tree9f466c347dbc022d0270cb3b73fe8c22f3e4aeb8 /sys/sparc64
parent90db9577861bc12784711572d1f686fefaa56046 (diff)
downloadFreeBSD-src-4687e7f394abae63c19cd4d10e516b0d1ee80508.zip
FreeBSD-src-4687e7f394abae63c19cd4d10e516b0d1ee80508.tar.gz
Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tell
scheduler that it doesn't need to use IPI to "wake up" CPU.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 70abf63..90da7c6 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -959,7 +959,7 @@ int
cpu_idle_wakeup(int cpu)
{
- return (0);
+ return (1);
}
int
OpenPOWER on IntegriCloud