From: kettenis Date: Fri, 11 Jul 2008 05:20:19 +0000 (+0000) Subject: Handle CPUs with a clock speed >= 2 GHz correctly. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11b94d55feadfe273a803065ce5cf2a6e5c226b0;p=openbsd Handle CPUs with a clock speed >= 2 GHz correctly. --- 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;