From: Akira Takeuchi Date: Wed, 10 Dec 2008 12:43:29 +0000 (+0000) Subject: MN10300: Fix the preemption resume_kernel() routine X-Git-Tag: v2.6.28-rc8~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24646bd2269fbca95367bfd3eafbc9f7ade2e980;p=pandora-kernel.git MN10300: Fix the preemption resume_kernel() routine Fix the preemption resume_kernel() routine by inverting the test to see whether interrupts are off (IM7 is all enabled, not all disabled). Furthermore, interrupts should be disabled on entry to resume_kernel() so that they're correctly set for jumping to restore_all() and doing the need reschedule test. Signed-off-by: Akira Takeuchi Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed