From: Akinobu Mita Date: Tue, 5 Oct 2010 15:54:00 +0000 (+0000) Subject: sh: fix uninitialized spinlock X-Git-Tag: v2.6.37-rc1~136^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde40898c814362e8041cad0e989c7a749c417ec;p=pandora-kernel.git 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 Cc: Paul Mundt Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Mundt --- Reading git-diff-tree failed