Date: Tue, 17 Apr 2001 10:53:37 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_clock.c Message-ID: <200104171753.f3HHrb698820@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/04/17 10:53:37 PDT
Modified files:
sys/kern kern_clock.c
Log:
Fix an old bug related to BETTER_CLOCK. Call forward_*clock if SMP
and __i386__ are defined rather than if SMP and BETTER_CLOCK are defined.
The removal of BETTER_CLOCK would have broken this except that kern_clock.c
doesn't include <machine/smptests.h>, so it doesn't see the definition of
BETTER_CLOCK, and forward_*clock aren't called, even on 4.x. This seems to
fix the problem where a n-way SMP system would see 100 * n clk interrupts
and 128 * n rtc interrupts.
Revision Changes Path
1.124 +4 -4 src/sys/kern/kern_clock.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104171753.f3HHrb698820>
