diff options
author | jhb <jhb@FreeBSD.org> | 2006-03-07 21:44:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-03-07 21:44:20 +0000 |
commit | 59bd3cfe60b44d5bde9042b768e1642116a4946e (patch) | |
tree | 004d957e909c4bb9f0e6b09c7f3e45491ed511a8 /lib/libutil/pw_util.c | |
parent | 4c1aecad9415334f2551e96b12ad9edc7548173b (diff) | |
download | FreeBSD-src-59bd3cfe60b44d5bde9042b768e1642116a4946e.zip FreeBSD-src-59bd3cfe60b44d5bde9042b768e1642116a4946e.tar.gz |
- Simplify the i8254 timecounter for the alpha since we don't actually have
an interrupt handler for the i8254. (Our clock interrupts come from
elsewhere.) Instead, use the same algo that i386 uses when the lapic
timer is in use. This lets us remove a lot of cruft that tried to handle
the i8254 interrupts that we weren't even using or setting up a handler
for.
- G/C a bunch of unused cruft while I'm here.
- Fix the code to not use the rpcc timecounter (similar to TSC) on SMP
machines to only disable that timecounter if more than one CPU is in
use by the kernel. Previously, a UP kernel on a machine with multiple
CPUs would needlessly disable this timecounter.
MFC after: 1 week
Diffstat (limited to 'lib/libutil/pw_util.c')
0 files changed, 0 insertions, 0 deletions