diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-10-17 05:18:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 04:25:49 -0700 |
commit | b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b (patch) | |
tree | eb8b14040370ec664c72d8c57fd617a9fe38618f /drivers/net/3c59x.c | |
parent | 1e253c3b8a1aeed51eef6fc366812f219b97de65 (diff) | |
download | talos-obmc-linux-b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b.tar.gz talos-obmc-linux-b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b.zip |
CAPI: Silence lockdep warning on get_capi_appl_by_nr usage
As long as we hold capi_controller_lock, we can safely access
capi_applications without RCU protection as no one can modify the
application list underneath us. Introduce an RCU-free
__get_capi_appl_by_nr for this purpose. This silences lockdep warnings
on suspicious rcu_dereference usage.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c59x.c')
0 files changed, 0 insertions, 0 deletions