aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2010-10-05 15:54:00 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-10-06 16:53:27 +0900
commitbde40898c814362e8041cad0e989c7a749c417ec (patch)
treec476d6d11855c9f8605b9463c8b6cdda55792f17 /arch/sh/kernel/setup.c
parentsh: intc: Fix build with IRQ balancing disabled. (diff)
downloadlinux-dev-bde40898c814362e8041cad0e989c7a749c417ec.tar.xz
linux-dev-bde40898c814362e8041cad0e989c7a749c417ec.zip
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>
Diffstat (limited to 'arch/sh/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions