locking/static_keys: Add selftest
authorPeter Zijlstra <peterz@infradead.org>
Mon, 27 Jul 2015 16:32:09 +0000 (18:32 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Aug 2015 09:34:16 +0000 (11:34 +0200)
commit1987c947d905baa05bee430178e8eef882f36bd4
tree3e1bf8a1224c9c929b5546b5be98569d508c80e4
parent11276d5306b8e5b438a36bbff855fe792d7eaa61
locking/static_keys: Add selftest

Add a little selftest that validates all combinations.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/Kconfig
kernel/jump_label.c