projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35576cb
)
SUNRPC: fix compile warnings on 64-bit platforms
author
Chuck Lever
<cel@netapp.com>
Mon, 20 Mar 2006 18:44:42 +0000
(13:44 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:42 +0000
(13:44 -0500)
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>
net/sunrpc/stats.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/stats.c
b/net/sunrpc/stats.c
index 53746793eca29b67d1dc9fb2f217c6c259ea59f7..790941e8af4daf6b77d6c549d6cba2c11c7d44ac 100644
(file)
--- 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 (1000
UL
/ HZ)
+#define MILLISECS_PER_JIFFY (1000 / HZ)
void rpc_print_iostats(struct seq_file *seq, struct rpc_clnt *clnt)
{