diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-09-27 18:51:19 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-09-27 18:51:19 +0000 |
commit | 231fc6e48ddfb6e6aae42ebcc5e782a93c9cca58 (patch) | |
tree | d1f22735dcce543c44d6dabebdbef5837540c4c5 | |
parent | 24e5e6df3a2d798d0a93bc9f6381069cff2d16c3 (diff) | |
download | FreeBSD-src-231fc6e48ddfb6e6aae42ebcc5e782a93c9cca58.zip FreeBSD-src-231fc6e48ddfb6e6aae42ebcc5e782a93c9cca58.tar.gz |
Since ULE doesn't honor hlt_cpus_mask don't compile code that prevents
timer interrupt servicing for disabled HTT cores in ULE case. Should be
probably fixed in ULE code instead, but we have no real maintainer for
ULE to do it.
PR: 103697
-rw-r--r-- | sys/amd64/amd64/local_apic.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/local_apic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/local_apic.c b/sys/amd64/amd64/local_apic.c index 696bf6f..7406003 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 54b2eb6..0b8d18c 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. |