[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>
This commit is contained in:
James Morris 2007-03-04 16:12:44 -08:00 committed by David S. Miller
parent 39df232f1a
commit 9d729f72dc
9 changed files with 26 additions and 26 deletions

View file

@ -76,7 +76,7 @@ static int xfrm6_output_one(struct sk_buff *skb)
x->curlft.bytes += skb->len;
x->curlft.packets++;
if (x->props.mode == XFRM_MODE_ROUTEOPTIMIZATION)
x->lastused = (u64)xtime.tv_sec;
x->lastused = get_seconds();
spin_unlock_bh(&x->lock);