[PATCH] riscv: Remove unused _TIF_WORK_MASK

Andy Chiu andy.chiu at sifive.com
Mon Aug 19 20:56:53 PDT 2024


On Tue, Aug 20, 2024 at 10:42 AM Jinjie Ruan <ruanjinjie at huawei.com> wrote:
>
>
>
> On 2024/7/11 19:15, Jinjie Ruan wrote:
> > Since commit f0bddf50586d ("riscv: entry: Convert to generic entry"),
> > _TIF_WORK_MASK is no longer used, so remove it.
> >
> > Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry")
> > Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>

Reviewed-by: Andy Chiu <andy.chiu at sifive.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)
> > -
>
> Ping.
>
> >  #endif /* _ASM_RISCV_THREAD_INFO_H */



More information about the linux-riscv mailing list