summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-07-11 05:20:20 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-07-11 05:20:20 +0000
commit1c9c5e78c44b9f343a4356326a8ae0ff6c0ffae7 (patch)
tree1fdbcfa56b9d19cd729b6f4bc0280430d07638f6
parent3b248566c8550bd815500a55565875bc0fe865b5 (diff)
Handle CPUs with a clock speed >= 2 GHz correctly.
-rw-r--r--sys/arch/sparc64/sparc64/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/cpu.c b/sys/arch/sparc64/sparc64/cpu.c
index ff5ef1241d7..451da27f28c 100644
--- a/sys/arch/sparc64/sparc64/cpu.c
+++ b/sys/arch/sparc64/sparc64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.40 2008/06/08 02:21:34 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.41 2008/07/11 05:20:19 kettenis Exp $ */
/* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */
/*
@@ -226,7 +226,7 @@ cpu_attach(parent, dev, aux)
void *aux;
{
int node;
- long clk;
+ u_int clk;
int impl, vers;
struct mainbus_attach_args *ma = aux;
struct cpu_info *ci;