summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2001-04-27 18:21:25 +0000
committergallatin <gallatin@FreeBSD.org>2001-04-27 18:21:25 +0000
commit95c17411607d3bc160b63f97e94912bf27b24274 (patch)
tree43bdd8505552400359df2cd8e28fcbd2433478b5
parent24f0bef96808e6f10f39cf9e3c2621a83f78c8d6 (diff)
downloadFreeBSD-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.
-rw-r--r--sys/alpha/alpha/clock.c2
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;
/*
OpenPOWER on IntegriCloud