Message ID | 20240711111508.1373322-1-ruanjinjie@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | cea9d27705d62984faf6137963c10bf26b967996 |
Headers | show |
Series | riscv: Remove unused _TIF_WORK_MASK | expand |
On Thu, Jul 11, 2024 at 7:10 PM Jinjie Ruan <ruanjinjie@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@kernel.org> > > Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry") > Signed-off-by: Jinjie Ruan <ruanjinjie@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 >
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@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) > - Ping. > #endif /* _ASM_RISCV_THREAD_INFO_H */
On Tue, Aug 20, 2024 at 10:42 AM Jinjie Ruan <ruanjinjie@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@huawei.com> Reviewed-by: Andy Chiu <andy.chiu@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 */
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Thu, 11 Jul 2024 19:15:08 +0800 you 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@huawei.com> > --- > arch/riscv/include/asm/thread_info.h | 4 ---- > 1 file changed, 4 deletions(-) Here is the summary with links: - riscv: Remove unused _TIF_WORK_MASK https://git.kernel.org/riscv/c/cea9d27705d6 You are awesome, thank you!
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 */
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@huawei.com> --- arch/riscv/include/asm/thread_info.h | 4 ---- 1 file changed, 4 deletions(-)