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/entry.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/entry.S')
-rw-r--r-- | arch/s390/kernel/entry.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 6766e37fe8ea..bdbb3bcd78a5 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S | |||
@@ -49,9 +49,9 @@ SP_ILC = STACK_FRAME_OVERHEAD + __PT_ILC | |||
49 | SP_TRAP = STACK_FRAME_OVERHEAD + __PT_TRAP | 49 | SP_TRAP = STACK_FRAME_OVERHEAD + __PT_TRAP |
50 | SP_SIZE = STACK_FRAME_OVERHEAD + __PT_SIZE | 50 | SP_SIZE = STACK_FRAME_OVERHEAD + __PT_SIZE |
51 | 51 | ||
52 | _TIF_WORK_SVC = (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK | _TIF_NEED_RESCHED | \ | 52 | _TIF_WORK_SVC = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ |
53 | _TIF_MCCK_PENDING | _TIF_RESTART_SVC | _TIF_SINGLE_STEP ) | 53 | _TIF_MCCK_PENDING | _TIF_RESTART_SVC | _TIF_SINGLE_STEP ) |
54 | _TIF_WORK_INT = (_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK | _TIF_NEED_RESCHED | \ | 54 | _TIF_WORK_INT = (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ |
55 | _TIF_MCCK_PENDING) | 55 | _TIF_MCCK_PENDING) |
56 | 56 | ||
57 | STACK_SHIFT = PAGE_SHIFT + THREAD_ORDER | 57 | STACK_SHIFT = PAGE_SHIFT + THREAD_ORDER |
@@ -316,7 +316,7 @@ sysc_work: | |||
316 | bo BASED(sysc_mcck_pending) | 316 | bo BASED(sysc_mcck_pending) |
317 | tm __TI_flags+3(%r9),_TIF_NEED_RESCHED | 317 | tm __TI_flags+3(%r9),_TIF_NEED_RESCHED |
318 | bo BASED(sysc_reschedule) | 318 | bo BASED(sysc_reschedule) |
319 | tm __TI_flags+3(%r9),(_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK) | 319 | tm __TI_flags+3(%r9),_TIF_SIGPENDING |
320 | bnz BASED(sysc_sigpending) | 320 | bnz BASED(sysc_sigpending) |
321 | tm __TI_flags+3(%r9),_TIF_RESTART_SVC | 321 | tm __TI_flags+3(%r9),_TIF_RESTART_SVC |
322 | bo BASED(sysc_restart) | 322 | bo BASED(sysc_restart) |
@@ -342,7 +342,7 @@ sysc_mcck_pending: | |||
342 | br %r1 # TIF bit will be cleared by handler | 342 | br %r1 # TIF bit will be cleared by handler |
343 | 343 | ||
344 | # | 344 | # |
345 | # _TIF_SIGPENDING or _TIF_RESTORE_SIGMASK is set, call do_signal | 345 | # _TIF_SIGPENDING is set, call do_signal |
346 | # | 346 | # |
347 | sysc_sigpending: | 347 | sysc_sigpending: |
348 | ni __TI_flags+3(%r9),255-_TIF_SINGLE_STEP # clear TIF_SINGLE_STEP | 348 | ni __TI_flags+3(%r9),255-_TIF_SINGLE_STEP # clear TIF_SINGLE_STEP |
@@ -657,7 +657,7 @@ io_work: | |||
657 | lr %r15,%r1 | 657 | lr %r15,%r1 |
658 | # | 658 | # |
659 | # One of the work bits is on. Find out which one. | 659 | # One of the work bits is on. Find out which one. |
660 | # Checked are: _TIF_SIGPENDING, _TIF_RESTORE_SIGMASK, _TIF_NEED_RESCHED | 660 | # Checked are: _TIF_SIGPENDING, _TIF_NEED_RESCHED |
661 | # and _TIF_MCCK_PENDING | 661 | # and _TIF_MCCK_PENDING |
662 | # | 662 | # |
663 | io_work_loop: | 663 | io_work_loop: |
@@ -665,7 +665,7 @@ io_work_loop: | |||
665 | bo BASED(io_mcck_pending) | 665 | bo BASED(io_mcck_pending) |
666 | tm __TI_flags+3(%r9),_TIF_NEED_RESCHED | 666 | tm __TI_flags+3(%r9),_TIF_NEED_RESCHED |
667 | bo BASED(io_reschedule) | 667 | bo BASED(io_reschedule) |
668 | tm __TI_flags+3(%r9),(_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK) | 668 | tm __TI_flags+3(%r9),_TIF_SIGPENDING |
669 | bnz BASED(io_sigpending) | 669 | bnz BASED(io_sigpending) |
670 | b BASED(io_restore) | 670 | b BASED(io_restore) |
671 | io_work_done: | 671 | io_work_done: |
@@ -693,7 +693,7 @@ io_reschedule: | |||
693 | b BASED(io_work_loop) | 693 | b BASED(io_work_loop) |
694 | 694 | ||
695 | # | 695 | # |
696 | # _TIF_SIGPENDING or _TIF_RESTORE_SIGMASK is set, call do_signal | 696 | # _TIF_SIGPENDING is set, call do_signal |
697 | # | 697 | # |
698 | io_sigpending: | 698 | io_sigpending: |
699 | TRACE_IRQS_ON | 699 | TRACE_IRQS_ON |