Skip to content

Commit 546d7bd

Browse files
committed
s390: Add missing _TIF defines
Add missing _TIF defines so that for every TIF bit its corresponding _TIF mask exists. Sort the _TIF list to match the TIF order. Also remove two leftover comments from the pre generic entry time. Signed-off-by: Heiko Carstens <[email protected]>
1 parent 45c9f2b commit 546d7bd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

arch/s390/include/asm/thread_info.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ void arch_setup_new_exec(void);
6161
/*
6262
* thread information flags bit numbers
6363
*/
64-
/* _TIF_WORK bits */
6564
#define TIF_NOTIFY_RESUME 0 /* callback before returning to user */
6665
#define TIF_SIGPENDING 1 /* signal pending */
6766
#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
@@ -72,33 +71,33 @@ void arch_setup_new_exec(void);
7271
#define TIF_NOTIFY_SIGNAL 7 /* signal notifications exist */
7372
#define TIF_ISOLATE_BP_GUEST 9 /* Run KVM guests with isolated BP */
7473
#define TIF_PER_TRAP 10 /* Need to handle PER trap on exit to usermode */
75-
7674
#define TIF_31BIT 16 /* 32bit process */
7775
#define TIF_MEMDIE 17 /* is terminating due to OOM killer */
7876
#define TIF_RESTORE_SIGMASK 18 /* restore signal mask in do_signal() */
7977
#define TIF_SINGLE_STEP 19 /* This task is single stepped */
8078
#define TIF_BLOCK_STEP 20 /* This task is block stepped */
8179
#define TIF_UPROBE_SINGLESTEP 21 /* This task is uprobe single stepped */
82-
83-
/* _TIF_TRACE bits */
8480
#define TIF_SYSCALL_TRACE 24 /* syscall trace active */
8581
#define TIF_SYSCALL_AUDIT 25 /* syscall auditing active */
8682
#define TIF_SECCOMP 26 /* secure computing */
8783
#define TIF_SYSCALL_TRACEPOINT 27 /* syscall tracepoint instrumentation */
8884

8985
#define _TIF_NOTIFY_RESUME BIT(TIF_NOTIFY_RESUME)
90-
#define _TIF_NOTIFY_SIGNAL BIT(TIF_NOTIFY_SIGNAL)
9186
#define _TIF_SIGPENDING BIT(TIF_SIGPENDING)
9287
#define _TIF_NEED_RESCHED BIT(TIF_NEED_RESCHED)
9388
#define _TIF_UPROBE BIT(TIF_UPROBE)
9489
#define _TIF_GUARDED_STORAGE BIT(TIF_GUARDED_STORAGE)
9590
#define _TIF_PATCH_PENDING BIT(TIF_PATCH_PENDING)
91+
#define _TIF_PGSTE BIT(TIF_PGSTE)
92+
#define _TIF_NOTIFY_SIGNAL BIT(TIF_NOTIFY_SIGNAL)
9693
#define _TIF_ISOLATE_BP_GUEST BIT(TIF_ISOLATE_BP_GUEST)
9794
#define _TIF_PER_TRAP BIT(TIF_PER_TRAP)
98-
9995
#define _TIF_31BIT BIT(TIF_31BIT)
96+
#define _TIF_MEMDIE BIT(TIF_MEMDIE)
97+
#define _TIF_RESTORE_SIGMASK BIT(TIF_RESTORE_SIGMASK)
10098
#define _TIF_SINGLE_STEP BIT(TIF_SINGLE_STEP)
101-
99+
#define _TIF_BLOCK_STEP BIT(TIF_BLOCK_STEP)
100+
#define _TIF_UPROBE_SINGLESTEP BIT(TIF_UPROBE_SINGLESTEP)
102101
#define _TIF_SYSCALL_TRACE BIT(TIF_SYSCALL_TRACE)
103102
#define _TIF_SYSCALL_AUDIT BIT(TIF_SYSCALL_AUDIT)
104103
#define _TIF_SECCOMP BIT(TIF_SECCOMP)

0 commit comments

Comments
 (0)