From: Stuart Menefy Date: Wed, 2 Jul 2008 08:51:23 +0000 (+0900) Subject: sh: Conditionally re-enable IRQs in fault path. X-Git-Tag: v2.6.27-rc1~29^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fb4e4f647dabf1177d3ce164988e73482d76b1;p=pandora-kernel.git sh: Conditionally re-enable IRQs in fault path. The current kernel behaviour is to reenable interrupts unconditionally when taking a page fault. This patch changes this to only enable them if interrupts were previously enabled. It also fixes a problem seen with this fix in place: the kernel previously flushed the vsyscall page when handling a signal, which is not only unncessary, but caused a possible sleep with interrupts disabled. Signed-off-by: Stuart Menefy Signed-off-by: Paul Mundt --- Reading git-diff-tree failed