diff options
author | peter <peter@FreeBSD.org> | 2004-08-24 00:16:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-08-24 00:16:43 +0000 |
commit | 878672b652111d9a8df706976942ed062adad67e (patch) | |
tree | eeb58eb912b47471b4e3a387868701f6222a1f58 | |
parent | f0aa809d4494f811a9973378c9b4cf3c477f8979 (diff) | |
download | FreeBSD-src-878672b652111d9a8df706976942ed062adad67e.zip FreeBSD-src-878672b652111d9a8df706976942ed062adad67e.tar.gz |
Oops, I forgot to have the idle loop call mp_grab_cpu_hlt() on the amd64
SMP case.
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 3ec46a0..ded77f2 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -498,6 +498,10 @@ void cpu_idle(void) { +#ifdef SMP + if (mp_grab_cpu_hlt()) + return; +#endif if (cpu_idle_hlt) { disable_intr(); if (sched_runnable()) |