Searched hist:d26f398400311982d2433debae85746c348b7d58 (Results 1 – 2 of 2) sorted by relevance
/linux/net/xfrm/ |
H A D | xfrm_user.c | diff d26f398400311982d2433debae85746c348b7d58 Wed Nov 14 06:47:08 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [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>
|
/linux/include/net/ |
H A D | xfrm.h | diff d26f398400311982d2433debae85746c348b7d58 Wed Nov 14 06:47:08 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [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>
|