diff options
author | Barry Song <barry.song@analog.com> | 2009-12-08 09:55:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:16:52 -0500 |
commit | d1be2e485bfb5e3ee3ef5d2131f0151f9a3c4387 (patch) | |
tree | 58cb8950840e263f2f1e0dd9d18a5a6df0aa7578 /arch/blackfin/mach-common | |
parent | 88f7c2fb0fa96887c7be8cdb00afb1a6f9d7894e (diff) | |
download | linux-3.10-d1be2e485bfb5e3ee3ef5d2131f0151f9a3c4387.tar.gz linux-3.10-d1be2e485bfb5e3ee3ef5d2131f0151f9a3c4387.tar.bz2 linux-3.10-d1be2e485bfb5e3ee3ef5d2131f0151f9a3c4387.zip |
Blackfin: add support for TIF_NOTIFY_RESUME
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index f3f8bb46b51..b0ed0b487ff 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S @@ -713,6 +713,8 @@ ENTRY(_system_call) cc = BITTST(r7, TIF_RESTORE_SIGMASK); if cc jump .Lsyscall_do_signals; cc = BITTST(r7, TIF_SIGPENDING); + if cc jump .Lsyscall_do_signals; + cc = BITTST(r7, TIF_NOTIFY_RESUME); if !cc jump .Lsyscall_really_exit; .Lsyscall_do_signals: /* Reenable interrupts. */ @@ -721,7 +723,7 @@ ENTRY(_system_call) r0 = sp; SP += -12; - call _do_signal; + call _do_notify_resume; SP += 12; .Lsyscall_really_exit: |