From: Chuck Lever Date: Mon, 20 Mar 2006 18:44:42 +0000 (-0500) Subject: SUNRPC: fix compile warnings on 64-bit platforms X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5eb53f41d11c04aa4ddb9f168b6bbb27b9790348;p=deliverable%2Flinux.git SUNRPC: fix compile warnings on 64-bit platforms Introduced by NFS metrics patch. Test plan: Compile kernel with CONFIG_NFS enabled on a 64-bit platform. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c index 53746793eca2..790941e8af4d 100644 --- a/net/sunrpc/stats.c +++ b/net/sunrpc/stats.c @@ -186,7 +186,7 @@ void _print_name(struct seq_file *seq, unsigned int op, struct rpc_procinfo *pro seq_printf(seq, "\t%12u: ", op); } -#define MILLISECS_PER_JIFFY (1000UL / HZ) +#define MILLISECS_PER_JIFFY (1000 / HZ) void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt) {