aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-09-27 18:51:19 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-09-27 18:51:19 +0000
commit6e93c19e3d78a32eec810c10e42367bc7432d1d3 (patch)
treed1f22735dcce543c44d6dabebdbef5837540c4c5 /sys
parent8be563721ababe474a268ee258dc030299e7c397 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/local_apic.c2
-rw-r--r--sys/i386/i386/local_apic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c
index 696bf6fa7368..740600392a23 100644
--- a/sys/amd64/amd64/local_apic.c
+++ b/sys/amd64/amd64/local_apic.c
@@ -613,7 +613,7 @@ lapic_handle_timer(struct trapframe frame)
/* Send EOI first thing. */
lapic_eoi();
-#ifdef SMP
+#if defined(SMP) && !defined(SCHED_ULE)
/*
* Don't do any accounting for the disabled HTT cores, since it
* will provide misleading numbers for the userland.
diff --git a/sys/i386/i386/local_apic.c b/sys/i386/i386/local_apic.c
index 54b2eb60958e..0b8d18c2df46 100644
--- a/sys/i386/i386/local_apic.c
+++ b/sys/i386/i386/local_apic.c
@@ -615,7 +615,7 @@ lapic_handle_timer(struct trapframe frame)
/* Send EOI first thing. */
lapic_eoi();
-#ifdef SMP
+#if defined(SMP) && !defined(SCHED_ULE)
/*
* Don't do any accounting for the disabled HTT cores, since it
* will provide misleading numbers for the userland.