diff options
| author | Akira Takeuchi <[email protected]> | 2008-12-10 12:43:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-12-10 21:34:33 +0000 |
| commit | 24646bd2269fbca95367bfd3eafbc9f7ade2e980 (patch) | |
| tree | 48c12583f152f688ff9e401cb99d48807c489b85 /net/unix/af_unix.c | |
| parent | MN10300: Discard low-priority Tx interrupts when closing an on-chip serial port (diff) | |
| download | kernel-24646bd2269fbca95367bfd3eafbc9f7ade2e980.tar.gz kernel-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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
