summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-03-03 17:13:29 +0000
committerattilio <attilio@FreeBSD.org>2010-03-03 17:13:29 +0000
commit5de847743136b43bab304d46d1d8ecf43181f28d (patch)
tree9ce6258d29e2f2d394434668c021bca584aa4c6b /sys/powerpc
parentfbccca5923756b5be7a7ca058ec93b316f661c6d (diff)
downloadFreeBSD-src-5de847743136b43bab304d46d1d8ecf43181f28d.zip
FreeBSD-src-5de847743136b43bab304d46d1d8ecf43181f28d.tar.gz
Improving the clocks auto-tunning by firstly checking if the atrtc may be
correctly initialized and just then assign to softclock/profclock. Right now, some atrtc seems reporting strange diagnostic error* making the current pattern bogus. In order to do that cleanly, lapic_setup_clock(), on both ia32 and amd64, now accepts as arguments the desired sources to handle, and returns the actual ones (LAPIC_CLOCK_NONE is forbidden because otherwise there is no meaning in calling such function). This allows to bring out into commont x86 code the handling part for machdep.lapic_allclocks tunable, which is retained. Sponsored by: Sandvine Incorporated Tested by: yongari, Richard Todd <rmtodd at ichotolot dot servalan dot com> MFC: 3 weeks X-MFC: r202387, 204309
Diffstat (limited to 'sys/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud