commit | 978813ee89674fdb6bb6585153166b7603173cd2 | [log] [tgz] |
---|---|---|
author | Jon Paul Maloy <jon.maloy@ericsson.com> | Wed Mar 12 11:31:07 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 12 15:53:49 2014 -0400 |
tree | d16551ae5c001a6899e2adca92df007e1b397914 | |
parent | 4a93f5095a628d812b0b30c16d7bacea1efd783c [diff] |
tipc: replace reference table rwlock with spinlock The lock for protecting the reference table is declared as an RWLOCK, although it is only used in write mode, never in read mode. We redefine it to become a spinlock. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>