]> git.baikalelectronics.ru Git - kernel.git/commit
lcoking/locktorture: Simplify the torture_runnable computation
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Apr 2016 17:22:08 +0000 (10:22 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 Apr 2016 08:57:51 +0000 (10:57 +0200)
commitd1e571fb90a8679d478865a757184433283696a4
treef5afdcc9b7258bb91293a333b75f3d3b11ee2c49
parent9a30c57633ea3a11244117a7c6d6bda14b7d0fca
lcoking/locktorture: Simplify the torture_runnable computation

This commit replaces an #ifdef with IS_ENABLED(), saving five lines.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: corbet@lwn.net
Cc: dave@stgolabs.net
Cc: dhowells@redhat.com
Cc: linux-doc@vger.kernel.org
Cc: will.deacon@arm.com
Link: http://lkml.kernel.org/r/1461691328-5429-4-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/locktorture.c