| commit | bde40898c814362e8041cad0e989c7a749c417ec | [log] [tgz] |
|---|---|---|
| author | Akinobu Mita <akinobu.mita@gmail.com> | Tue Oct 05 15:54:00 2010 +0000 |
| committer | Paul Mundt <lethal@linux-sh.org> | Wed Oct 06 16:53:27 2010 +0900 |
| tree | c476d6d11855c9f8605b9463c8b6cdda55792f17 | |
| parent | 6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe [diff] |
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>