summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-src_arch_i386_cyclecounter.c
blob: f01b488d4f72e01625da77e576e1ca6eabb96352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_arch_i386_cyclecounter.c,v 1.1 2012/02/28 15:49:56 hans Exp $

--- src/arch/i386/cyclecounter.c.orig	2003-02-28 18:19:53.000000000 +0100
+++ src/arch/i386/cyclecounter.c	2012-02-28 16:40:39.132704974 +0100
@@ -62,8 +62,8 @@
  * instruction for the TCP bandwidth test.
  */
 
-typedef u_int32_t clk_t;	/* time stamps are 64 bit on the Pentium Pro */
-typedef u_int64_t internal_clk_t;
+typedef uint32_t clk_t;	/* time stamps are 64 bit on the Pentium Pro */
+typedef uint64_t internal_clk_t;
 #define CLKTFMT		"%d"
 #define CLKTSTR(x) 	((int)strtol(x, NULL, 10))