diff options
author | gallatin <gallatin@FreeBSD.org> | 2001-04-27 18:21:25 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2001-04-27 18:21:25 +0000 |
commit | 95c17411607d3bc160b63f97e94912bf27b24274 (patch) | |
tree | 43bdd8505552400359df2cd8e28fcbd2433478b5 /sys/alpha | |
parent | 24f0bef96808e6f10f39cf9e3c2621a83f78c8d6 (diff) | |
download | FreeBSD-src-95c17411607d3bc160b63f97e94912bf27b24274.zip FreeBSD-src-95c17411607d3bc160b63f97e94912bf27b24274.tar.gz |
Make stathz match reality on platforms like the 4100 where hz!=1024
It might be more correct to make stathz as close as possible to 128,
but that would involve adding complexity to the clock intr path, which
I don't want to do.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c index 7b5b749..235eabd 100644 --- a/sys/alpha/alpha/clock.c +++ b/sys/alpha/alpha/clock.c @@ -257,7 +257,7 @@ cpu_initclocks() tc_init(&alpha_timecounter); } - stathz = 128; + stathz = hz / 8; platform.clockintr = (void (*) __P((void *))) handleclock; /* |