[PATCH] riscv: Remove unused _TIF_WORK_MASK
Guo Ren
guoren at kernel.org
Sun Jul 14 01:40:14 PDT 2024
On Thu, Jul 11, 2024 at 7:10 PM Jinjie Ruan <ruanjinjie at huawei.com> wrote:
>
> Since commit f0bddf50586d ("riscv: entry: Convert to generic entry"),
> _TIF_WORK_MASK is no longer used, so remove it.
Yes, you got it.
Reviewed-by: Guo Ren <guoren at kernel.org>
>
> Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry")
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> ---
> arch/riscv/include/asm/thread_info.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/riscv/include/asm/thread_info.h b/arch/riscv/include/asm/thread_info.h
> index 5d473343634b..0eead6b7b790 100644
> --- a/arch/riscv/include/asm/thread_info.h
> +++ b/arch/riscv/include/asm/thread_info.h
> @@ -111,8 +111,4 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
> #define _TIF_UPROBE (1 << TIF_UPROBE)
> #define _TIF_RISCV_V_DEFER_RESTORE (1 << TIF_RISCV_V_DEFER_RESTORE)
>
> -#define _TIF_WORK_MASK \
> - (_TIF_NOTIFY_RESUME | _TIF_SIGPENDING | _TIF_NEED_RESCHED | \
> - _TIF_NOTIFY_SIGNAL | _TIF_UPROBE)
> -
> #endif /* _ASM_RISCV_THREAD_INFO_H */
> --
> 2.34.1
>
--
Best Regards
Guo Ren
More information about the linux-riscv
mailing list