]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: change warn on missing lock in wlcore_queue_xx funcs
authorArik Nemtsov <arik@wizery.com>
Tue, 12 Mar 2013 15:19:40 +0000 (17:19 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:33:12 +0000 (12:33 +0200)
commitcd9a9334db31be8306d623c8bd8584cfd8a49c39
tree849e6ec76d642e8de188b5d324d0551030694f4d
parent094b50eb4a3db2fd39d1396518d3478cf7655ee3
wlcore: change warn on missing lock in wlcore_queue_xx funcs

On !CONFIG_SMP builds spin_is_locked always returns 0. Assert the
locking using assert_spin_locked, which is written to behave correctly
in all cases.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/tx.c