diff options
author | James Morris <jmorris@namei.org> | 2007-03-04 19:12:44 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:23:32 -0400 |
commit | 9d729f72dca9406025bcfa9c1f660d71d9ef0ff5 (patch) | |
tree | 69a3ca50c6e266853676a545a113f13f254ae535 /net/rxrpc/main.c | |
parent | 39df232f1a9ba48d41c68ee7d4046756e709cf91 (diff) |
[NET]: Convert xtime.tv_sec to get_seconds()
Where appropriate, convert references to xtime.tv_sec to the
get_seconds() helper function.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/main.c')
-rw-r--r-- | net/rxrpc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/main.c b/net/rxrpc/main.c index baec1f7fd8b9..cead31b5bdf5 100644 --- a/net/rxrpc/main.c +++ b/net/rxrpc/main.c | |||
@@ -37,7 +37,7 @@ static int __init rxrpc_initialise(void) | |||
37 | int ret; | 37 | int ret; |
38 | 38 | ||
39 | /* my epoch value */ | 39 | /* my epoch value */ |
40 | rxrpc_epoch = htonl(xtime.tv_sec); | 40 | rxrpc_epoch = htonl(get_seconds()); |
41 | 41 | ||
42 | /* register the /proc interface */ | 42 | /* register the /proc interface */ |
43 | #ifdef CONFIG_PROC_FS | 43 | #ifdef CONFIG_PROC_FS |