summaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2007-03-04 16:12:44 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:23:32 -0700
commit9d729f72dca9406025bcfa9c1f660d71d9ef0ff5 (patch)
tree69a3ca50c6e266853676a545a113f13f254ae535 /net/rxrpc
parent39df232f1a9ba48d41c68ee7d4046756e709cf91 (diff)
downloadop-kernel-dev-9d729f72dca9406025bcfa9c1f660d71d9ef0ff5.zip
op-kernel-dev-9d729f72dca9406025bcfa9c1f660d71d9ef0ff5.tar.gz
[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')
-rw-r--r--net/rxrpc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/main.c b/net/rxrpc/main.c
index baec1f7..cead31b 100644
--- a/net/rxrpc/main.c
+++ b/net/rxrpc/main.c
@@ -37,7 +37,7 @@ static int __init rxrpc_initialise(void)
int ret;
/* my epoch value */
- rxrpc_epoch = htonl(xtime.tv_sec);
+ rxrpc_epoch = htonl(get_seconds());
/* register the /proc interface */
#ifdef CONFIG_PROC_FS
OpenPOWER on IntegriCloud