summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>2008-12-10 13:43:29 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-10 22:34:33 +0100
commit24646bd2269fbca95367bfd3eafbc9f7ade2e980 (patch)
tree48c12583f152f688ff9e401cb99d48807c489b85 /include
parentMN10300: Discard low-priority Tx interrupts when closing an on-chip serial port (diff)
downloadlinux-24646bd2269fbca95367bfd3eafbc9f7ade2e980.tar.xz
linux-24646bd2269fbca95367bfd3eafbc9f7ade2e980.zip
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 <takeuchi.akr@jp.panasonic.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions