Define and initialize kdb_lock using DEFINE_SPINLOCK.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 3 Oct 2005 12:40:26 +0000 (13:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:35 +0000 (19:32 +0100)
commit57468af3267bfb89391f9c607a9637e86e55d299
tree3a52d3238fea2dd4cd887ff626e4b45d81c9b843
parentf8bb3af924211b0e6ee66dc0d3bcb4a66ba59af4
Define and initialize kdb_lock using DEFINE_SPINLOCK.
Convert kgdb_cpulock into a raw_spinlock_t.

SPIN_LOCK_UNLOCKED is deprecated and it's replacement DEFINE_SPINLOCK is
not suitable for arrays of spinlocks.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/gdb-stub.c