diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-01 03:49:23 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 17:58:09 +0400 |
commit | 6fdb6fbecbf1ca939699f09376e35169615a3678 (patch) | |
tree | 06e854291cb175e24d959f13c9e76212565c8b72 /arch/mn10300/kernel/entry.S | |
parent | 13d112ed32e66742a1795819b76752e8f7166848 (diff) | |
download | linux-6fdb6fbecbf1ca939699f09376e35169615a3678.tar.xz |
mn10300: get rid of calling do_notify_resume() when returning to kernel mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/kernel/entry.S')
-rw-r--r-- | arch/mn10300/kernel/entry.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index 7dee5f6a1416..0c631d34c8d7 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S @@ -108,6 +108,10 @@ restore_all: ############################################################################### ALIGN syscall_exit_work: + mov (REG_EPSW,fp),d0 + and EPSW_nSL,d0 + beq resume_kernel # returning to supervisor mode + btst _TIF_SYSCALL_TRACE,d2 beq work_pending LOCAL_IRQ_ENABLE # could let syscall_trace_exit() call |