commit | 971275662040beef8f73f8e5dbcfb3d76a14bf04 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Nov 13 18:11:18 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 13 15:13:05 2014 -0500 |
tree | 7226d59d21634991d9f2cc61a3b5beccdd56d3d8 | |
parent | 9488e1e5b319751c71eebfd49027bf9e2377f38c [diff] |
netlink: Move mutex_is_held under PROVE_LOCKING The rhashtable function mutex_is_held is only used when PROVE_LOCKING is enabled. This patch modifies netlink so that we can rhashtable.h itself can later make mutex_is_held optional depending on PROVE_LOCKING. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>