diff options
author | Roland McGrath <roland@redhat.com> | 2008-04-30 03:53:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:37 -0400 |
commit | 02a029b325854a98e76f0a79ab38bec13e66bd38 (patch) | |
tree | 02a12a03e9ed484101c3597ec31cc41c88aa1baa /arch/s390/kernel/entry64.S | |
parent | 7648d961fcb454d38e864d2d850bc30e078bf7e6 (diff) |
signals: s390: renumber TIF_RESTORE_SIGMASK
TIF_RESTORE_SIGMASK no longer needs to be in the _TIF_WORK_* masks. Those low
bits are scarce, and are all used up now. Renumber TIF_RESTORE_SIGMASK to
free one up.
Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/s390/kernel/entry64.S')
-rw-r--r-- | arch/s390/kernel/entry64.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/s390/kernel/entry64.S b/arch/s390/kernel/entry64.S index cd959c0b2e16..5a4a7bcd2bba 100644 --- a/arch/s390/kernel/entry64.S +++ b/arch/s390/kernel/entry64.S | |||
@@ -52,9 +52,9 @@ SP_SIZE = STACK_FRAME_OVERHEAD + __PT_SIZE | |||
52 | STACK_SHIFT = PAGE_SHIFT + THREAD_ORDER | 52 | STACK_SHIFT = PAGE_SHIFT + THREAD_ORDER |
53 | STACK_SIZE = 1 << STACK_SHIFT | 53 | STACK_SIZE = 1 << STACK_SHIFT |
54 | 54 | ||
55 | _TIF_WORK_SVC = (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK | _TIF_NEED_RESCHED | \ | 55 | _TIF_WORK_SVC = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ |
56 | _TIF_MCCK_PENDING | _TIF_RESTART_SVC | _TIF_SINGLE_STEP ) | 56 | _TIF_MCCK_PENDING | _TIF_RESTART_SVC | _TIF_SINGLE_STEP ) |
57 | _TIF_WORK_INT = (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK | _TIF_NEED_RESCHED | \ | 57 | _TIF_WORK_INT = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ |
58 | _TIF_MCCK_PENDING) | 58 | _TIF_MCCK_PENDING) |
59 | 59 | ||
60 | #define BASED(name) name-system_call(%r13) | 60 | #define BASED(name) name-system_call(%r13) |
@@ -308,7 +308,7 @@ sysc_work: | |||
308 | jo sysc_mcck_pending | 308 | jo sysc_mcck_pending |
309 | tm __TI_flags+7(%r9),_TIF_NEED_RESCHED | 309 | tm __TI_flags+7(%r9),_TIF_NEED_RESCHED |
310 | jo sysc_reschedule | 310 | jo sysc_reschedule |
311 | tm __TI_flags+7(%r9),(_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK) | 311 | tm __TI_flags+7(%r9),_TIF_SIGPENDING |
312 | jnz sysc_sigpending | 312 | jnz sysc_sigpending |
313 | tm __TI_flags+7(%r9),_TIF_RESTART_SVC | 313 | tm __TI_flags+7(%r9),_TIF_RESTART_SVC |
314 | jo sysc_restart | 314 | jo sysc_restart |
@@ -332,7 +332,7 @@ sysc_mcck_pending: | |||
332 | jg s390_handle_mcck # TIF bit will be cleared by handler | 332 | jg s390_handle_mcck # TIF bit will be cleared by handler |
333 | 333 | ||
334 | # | 334 | # |
335 | # _TIF_SIGPENDING or _TIF_RESTORE_SIGMASK is set, call do_signal | 335 | # _TIF_SIGPENDING is set, call do_signal |
336 | # | 336 | # |
337 | sysc_sigpending: | 337 | sysc_sigpending: |
338 | ni __TI_flags+7(%r9),255-_TIF_SINGLE_STEP # clear TIF_SINGLE_STEP | 338 | ni __TI_flags+7(%r9),255-_TIF_SINGLE_STEP # clear TIF_SINGLE_STEP |
@@ -648,7 +648,7 @@ io_work_loop: | |||
648 | jo io_mcck_pending | 648 | jo io_mcck_pending |
649 | tm __TI_flags+7(%r9),_TIF_NEED_RESCHED | 649 | tm __TI_flags+7(%r9),_TIF_NEED_RESCHED |
650 | jo io_reschedule | 650 | jo io_reschedule |
651 | tm __TI_flags+7(%r9),(_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK) | 651 | tm __TI_flags+7(%r9),_TIF_SIGPENDING |
652 | jnz io_sigpending | 652 | jnz io_sigpending |
653 | j io_restore | 653 | j io_restore |
654 | io_work_done: | 654 | io_work_done: |
@@ -674,7 +674,7 @@ io_reschedule: | |||
674 | j io_work_loop | 674 | j io_work_loop |
675 | 675 | ||
676 | # | 676 | # |
677 | # _TIF_SIGPENDING or _TIF_RESTORE_SIGMASK is set, call do_signal | 677 | # _TIF_SIGPENDING or is set, call do_signal |
678 | # | 678 | # |
679 | io_sigpending: | 679 | io_sigpending: |
680 | TRACE_IRQS_ON | 680 | TRACE_IRQS_ON |