mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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.
This commit is contained in:
parent
1fed00197f
commit
e5878540ed
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ cpu_initclocks()
|
|||
tc_init(&alpha_timecounter);
|
||||
}
|
||||
|
||||
stathz = 128;
|
||||
stathz = hz / 8;
|
||||
platform.clockintr = (void (*) __P((void *))) handleclock;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue