Skip to content

Commit cea9d27

Browse files
ruanjinjie-engpalmer-dabbelt
authored andcommitted
riscv: Remove unused _TIF_WORK_MASK
Since commit f0bddf5 ("riscv: entry: Convert to generic entry"), _TIF_WORK_MASK is no longer used, so remove it. Fixes: f0bddf5 ("riscv: entry: Convert to generic entry") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Andy Chiu <andy.chiu@sifive.com> Link: https://lore.kernel.org/r/20240711111508.1373322-1-ruanjinjie@huawei.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 9b2863e commit cea9d27

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

arch/riscv/include/asm/thread_info.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,4 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
112112
#define _TIF_UPROBE (1 << TIF_UPROBE)
113113
#define _TIF_RISCV_V_DEFER_RESTORE (1 << TIF_RISCV_V_DEFER_RESTORE)
114114

115-
#define _TIF_WORK_MASK \
116-
(_TIF_NOTIFY_RESUME | _TIF_SIGPENDING | _TIF_NEED_RESCHED | \
117-
_TIF_NOTIFY_SIGNAL | _TIF_UPROBE)
118-
119115
#endif /* _ASM_RISCV_THREAD_INFO_H */

0 commit comments

Comments
 (0)