diff options
| author | 2004-02-14 00:17:06 +0000 | |
|---|---|---|
| committer | 2004-02-14 00:17:06 +0000 | |
| commit | c09ba5417d30486ff4c78c93269e427b175f2258 (patch) | |
| tree | eb4c5b95806717b9677bd9ba785c775489cc7073 | |
| parent | Cleanup debug messages: use %b for status, %x -> 0x%x, wrap lines. (diff) | |
| download | wireguard-openbsd-c09ba5417d30486ff4c78c93269e427b175f2258.tar.xz wireguard-openbsd-c09ba5417d30486ff4c78c93269e427b175f2258.zip | |
Enable statclock at 128/1024.
| -rw-r--r-- | sys/arch/arm/footbridge/footbridge_clock.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/arm/footbridge/footbridge_clock.c b/sys/arch/arm/footbridge/footbridge_clock.c index fbe733a4367..43596f03384 100644 --- a/sys/arch/arm/footbridge/footbridge_clock.c +++ b/sys/arch/arm/footbridge/footbridge_clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: footbridge_clock.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */ +/* $OpenBSD: footbridge_clock.c,v 1.2 2004/02/14 00:17:06 drahn Exp $ */ /* $NetBSD: footbridge_clock.c,v 1.17 2003/03/23 14:12:25 chris Exp $ */ /* @@ -281,13 +281,12 @@ void cpu_initclocks() { /* stathz and profhz should be set to something, we have the timer */ -#if 0 + if (stathz == 0) - stathz = hz; + stathz = 128; if (profhz == 0) - profhz = stathz * 5; -#endif + profhz = stathz * 8; /* Report the clock frequencies */ printf("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz); |
