Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/iwlwifi
Johannes Berg a24d52f390 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: stable@kernel.org [2.6.34+, maybe only parts of patch]
Reported-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-08-06 13:53:58 -04:00
..
2010-05-10 15:09:04 -07:00
2010-08-06 13:53:58 -04:00
2010-08-06 13:53:58 -04:00
2010-08-04 15:27:37 -04:00
2010-08-06 13:53:58 -04:00
2010-08-06 13:53:58 -04:00
2010-08-06 13:53:58 -04:00
2010-06-05 23:18:11 -07:00