]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sh: fix uninitialized spinlock
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 5 Oct 2010 15:54:00 +0000 (15:54 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Oct 2010 07:53:27 +0000 (16:53 +0900)
commitbde40898c814362e8041cad0e989c7a749c417ec
treec476d6d11855c9f8605b9463c8b6cdda55792f17
parent6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe
sh: fix uninitialized spinlock

The spinlock in traps_64.c is used without initialization.
This fixes it by declaring DEFINE_SPINLOCK() and makes the spinlock static
variable.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_64.c