aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
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
parentNLM: nlmclnt_cancel_callback should accept NLM_LCK_DENIED errors (diff)
downloadlinux-dev-5eb53f41d11c04aa4ddb9f168b6bbb27b9790348.tar.xz
linux-dev-5eb53f41d11c04aa4ddb9f168b6bbb27b9790348.zip
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')
-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 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)
{