From e5878540edb74236d065b00eae99d36780a089bf Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Fri, 27 Apr 2001 18:21:25 +0000 Subject: [PATCH] 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. --- sys/alpha/alpha/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c index 7b5b749baef..235eabd6515 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; /*