diff options
author | mav <mav@FreeBSD.org> | 2010-09-11 07:24:10 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-09-11 07:24:10 +0000 |
commit | 4687e7f394abae63c19cd4d10e516b0d1ee80508 (patch) | |
tree | 9f466c347dbc022d0270cb3b73fe8c22f3e4aeb8 /sys/sparc64 | |
parent | 90db9577861bc12784711572d1f686fefaa56046 (diff) | |
download | FreeBSD-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.c | 2 |
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 |