diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-07 23:34:14 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-07 23:34:14 +0000 |
commit | cae315a3755c81a35be835045fd9d13ec32d5664 (patch) | |
tree | 66a13d0b14e24d271dd849b6ddd009dcaef39b21 /sys/i386 | |
parent | a0b51ba62fa86f5faf7bbd81e0b91ba497fec05a (diff) | |
parent | e50df263d1f327a3de6248b7f2747e4ca342a99b (diff) | |
download | FreeBSD-src-cae315a3755c81a35be835045fd9d13ec32d5664.zip FreeBSD-src-cae315a3755c81a35be835045fd9d13ec32d5664.tar.gz |
MFC
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index bfb96e9..265a5c4 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1359,6 +1359,7 @@ cpu_idle(int busy) if (mp_grab_cpu_hlt()) return; #endif +#ifndef XEN /* If we are busy - try to use fast methods. */ if (busy) { if ((cpu_feature2 & CPUID2_MON) && idle_mwait) { @@ -1367,7 +1368,6 @@ cpu_idle(int busy) } } -#ifndef XEN /* If we have time - switch timers into idle mode. */ if (!busy) { critical_enter(); @@ -1395,8 +1395,8 @@ cpu_idle(int busy) cpu_activeclock(); critical_exit(); } -#endif out: +#endif CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu); } |