summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/stats.c
diff options
context:
space:
mode:
authorChuck Lever <cel@netapp.com>2006-03-20 13:44:42 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:42 -0500
commit5eb53f41d11c04aa4ddb9f168b6bbb27b9790348 (patch)
treecc8935431e852fc2f500214406713bc83d40042c /net/sunrpc/stats.c
parent35576cba57f1c042b87d6586b3229d13067264c6 (diff)
downloadop-kernel-dev-5eb53f41d11c04aa4ddb9f168b6bbb27b9790348.zip
op-kernel-dev-5eb53f41d11c04aa4ddb9f168b6bbb27b9790348.tar.gz
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 <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/stats.c')
-rw-r--r--net/sunrpc/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c
index 5374679..790941e 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)
{
OpenPOWER on IntegriCloud