From: Paul Mundt Date: Wed, 1 Aug 2007 07:17:07 +0000 (+0900) Subject: sh: Fix lockdep debugging oops on SH-3/4. X-Git-Tag: v2.6.23-rc2~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c347d12cd1642ba193f55bdab29395d639c5efc2;p=pandora-kernel.git sh: Fix lockdep debugging oops on SH-3/4. In the SH-3/4 TLB access violation path we were enabling IRQs before the call in to trace_hardirqs_on(), which ended up triggering: if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) return; in kernel/lockdep.c:2031. Fix this up by removing the early re-enable, we were already re-enabling IRQs post-trace_hardirqs_on() already, so the semantics are now as was initially intended. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed