summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChuck Lever <cel@netapp.com>2006-03-20 19:44:42 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 19:44:42 +0100
commit5eb53f41d11c04aa4ddb9f168b6bbb27b9790348 (patch)
treecc8935431e852fc2f500214406713bc83d40042c /net
parentNLM: nlmclnt_cancel_callback should accept NLM_LCK_DENIED errors (diff)
downloadlinux-5eb53f41d11c04aa4ddb9f168b6bbb27b9790348.tar.xz
linux-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')
-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)
{