]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPSEC]: Make x->lastused an unsigned long
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:47:08 +0000 (21:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:52 +0000 (14:53 -0800)
commitd26f398400311982d2433debae85746c348b7d58
treecd1fd0dfbd5a51428dc92ea3dbbb864205a27fa8
parent0ebea8ef3559b545c37b016f44e84c3b33e47c39
[IPSEC]: Make x->lastused an unsigned long

Currently x->lastused is u64 which means that it cannot be
read/written atomically on all architectures.  David Miller observed
that the value stored in it is only an unsigned long which is always
atomic.

So based on his suggestion this patch changes the internal
representation from u64 to unsigned long while the user-interface
still refers to it as u64.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/ipv6/xfrm6_mode_ro.c
net/xfrm/xfrm_user.c