Skip to content
Commit bde40898 authored by Akinobu Mita's avatar Akinobu Mita Committed by Paul Mundt
Browse files

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: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 6966fed9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment