]> git.baikalelectronics.ru Git - kernel.git/commit
include/asm-generic: Remove spin_is_locked() comment
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 8 Jan 2019 18:13:44 +0000 (10:13 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:36:04 +0000 (15:36 -0800)
commit707267a7f91d02a2a3f18255e2be032167794d25
treebc8eda942e3fab5bf5308c57682c9e9879402430
parent21a684f0bf8bb6c6ac406ae1432e5afe299ed3d4
include/asm-generic: Remove spin_is_locked() comment

The WARN_ON_SMP() comment header suggests using spin_is_locked() to
check for locks being held.  But these days we prefer lockdep_assert_held(),
so this commit removes that suggestion.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: <linux-arch@vger.kernel.org>
include/asm-generic/bug.h