]> git.baikalelectronics.ru Git - kernel.git/commit
locking/lockdep/selftests: Fix mixed read-write ABBA tests
authorPeter Zijlstra <peterz@infradead.org>
Mon, 28 Aug 2017 12:42:45 +0000 (14:42 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2017 13:15:17 +0000 (15:15 +0200)
commit81af4e63f7d653bd70d57ee0e0fd799cc035cdc1
treec3efefae71e4e11df469ca68f5dab855ace0e7c4
parent321e267bb7b3ec6e1d320f212654e50bce492e95
locking/lockdep/selftests: Fix mixed read-write ABBA tests

Commit:

  4be6687469ce ("locking/lockdep/selftests: Add mixed read-write ABBA tests")

adds an explicit FAILURE to the locking selftest but overlooked the
fact that this kills lockdep. Fudge the test to avoid this.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: hpa@zytor.com
Link: http://lkml.kernel.org/r/20170828124245.xlo2yshxq2btgmuf@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
lib/locking-selftest.c