diff options
| author | Johannes Berg <[email protected]> | 2010-08-06 14:17:53 +0000 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2010-08-06 17:53:58 +0000 |
| commit | a24d52f390a77ce90dc8cf0cd75d27ec0a6ea3f8 (patch) | |
| tree | 22bd26711179036d5c417ec5fc0c56de82fe0a07 /net/ipv4/tcp_input.c | |
| parent | iwlwifi: fix TX tracer (diff) | |
| download | kernel-a24d52f390a77ce90dc8cf0cd75d27ec0a6ea3f8.tar.gz kernel-a24d52f390a77ce90dc8cf0cd75d27ec0a6ea3f8.zip | |
iwlwifi: fix locking assertions
spin_is_locked() can return zero on some (UP?)
configurations because locks don't exist, and
that causes an endless amount of warnings. Use
lockdep_assert_held() instead, which has two
advantages:
1) it verifies the current task is holding
the lock or mutex
2) it compiles away completely when lockdep
is not enabled
Cc: [email protected] [2.6.34+, maybe only parts of patch]
Reported-by: Thomas Meyer <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
