lockdep: Selftest: convert spinlock to raw spinlock
authorYong Zhang <yong.zhang0@gmail.com>
Mon, 16 Apr 2012 07:01:55 +0000 (15:01 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 Feb 2013 07:43:35 +0000 (08:43 +0100)
commit9fb1b90ce0a847a8cc9492a6c1f347b5be1f33ff
treeeb877b655afd1cf303677edadb41086c798030fd
parent6617feca15c68aad12f4a1edd8d8e2ef8d5b4ae5
lockdep: Selftest: convert spinlock to raw spinlock

To make the lockdep selftest working on RT we need to convert the
spinlock tests to a raw spinlock. Otherwise we cannot run the irq
context checks. For mainline this is just annotational as spinlocks
are mapped to raw_spinlocks anyway.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Link: http://lkml.kernel.org/r/1334559716-18447-2-git-send-email-yong.zhang0@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
lib/locking-selftest.c