diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-24 02:30:16 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 23:59:48 -0400 |
commit | a53bb24e7666870bbc195e295a936aa0a58ce313 (patch) | |
tree | a6262e348507e0b391993649c70e21e72e1a2cb7 /arch/xtensa/kernel/entry.S | |
parent | 8314019141e4f7274ea4dc264a47bbb2e17c66dd (diff) |
xtensa: add handling of TIF_NOTIFY_RESUME
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa/kernel/entry.S')
-rw-r--r-- | arch/xtensa/kernel/entry.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S index b1bb6d79d8b9..7e6236073397 100644 --- a/arch/xtensa/kernel/entry.S +++ b/arch/xtensa/kernel/entry.S | |||
@@ -409,14 +409,15 @@ common_exception_return: | |||
409 | l32i a4, a2, TI_FLAGS | 409 | l32i a4, a2, TI_FLAGS |
410 | 410 | ||
411 | _bbsi.l a4, TIF_NEED_RESCHED, 3f | 411 | _bbsi.l a4, TIF_NEED_RESCHED, 3f |
412 | _bbsi.l a4, TIF_NOTIFY_RESUME, 2f | ||
412 | _bbci.l a4, TIF_SIGPENDING, 4f | 413 | _bbci.l a4, TIF_SIGPENDING, 4f |
413 | 414 | ||
414 | l32i a4, a1, PT_DEPC | 415 | 2: l32i a4, a1, PT_DEPC |
415 | bgeui a4, VALID_DOUBLE_EXCEPTION_ADDRESS, 4f | 416 | bgeui a4, VALID_DOUBLE_EXCEPTION_ADDRESS, 4f |
416 | 417 | ||
417 | /* Call do_signal() */ | 418 | /* Call do_signal() */ |
418 | 419 | ||
419 | movi a4, do_signal # int do_signal(struct pt_regs*, sigset_t*) | 420 | movi a4, do_notify_resume # int do_notify_resume(struct pt_regs*) |
420 | mov a6, a1 | 421 | mov a6, a1 |
421 | callx4 a4 | 422 | callx4 a4 |
422 | j 1b | 423 | j 1b |