x86: entry: Remove _TIF_SINGLESTEP define leftover
PATCH 1/1 x86: entry: Remove _TIF_SINGLESTEP define leftover
After commit 6342adcaa683 ("entry: Ensure trap after single-step on system call return") a _TIF_SINGLESTEP define is obsolete for arch/x86.
So, remove the leftover in arch/x86/include/asm/thread_info.h file.
--- arch/x86/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)
arch/x86/include/asm/thread_info.h +0 -1
@@ -101,7 +101,6 @@ struct thread_info {#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) -#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)#define _TIF_SSBD (1 << TIF_SSBD)#define _TIF_SPEC_IB (1 << TIF_SPEC_IB)#define _TIF_SPEC_FORCE_UPDATE (1 << TIF_SPEC_FORCE_UPDATE)
Signature · 1 line
2.30.0
Looks good to me.
- Kyle
Quoted 28 lines · Sedat Dilek
After commit
6342adcaa683("entry: Ensure trap after single-step on system call return") a_TIF_SINGLESTEPdefine is obsolete forarch/x86.So, remove the leftover in
arch/x86/include/asm/thread_info.hfile.Fixes 6342adcaa683 ("entry: Ensure trap after single-step on system call return"CC Kyle Huey <[email protected]>Signed-off-by Sedat Dilek <[email protected]>--- arch/x86/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)arch/x86/include/asm/thread_info.h +0
-2@@ -101,7 +101,6 @@ struct thread_info {#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) -#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)#define _TIF_SSBD (1 << TIF_SSBD)#define _TIF_SPEC_IB (1 << TIF_SPEC_IB)#define _TIF_SPEC_FORCE_UPDATE (1 << TIF_SPEC_FORCE_UPDATE) --2.30.0
Quoted 3 lines · Kyle Huey
Looks good to me.
Any other comments on this patch v2?
Thanks.
- Sedat -
Quoted 31 lines
- Kyle
Quoted 28 lines · Sedat Dilek
After commit
6342adcaa683("entry: Ensure trap after single-step on system call return") a_TIF_SINGLESTEPdefine is obsolete forarch/x86.So, remove the leftover in
arch/x86/include/asm/thread_info.hfile.Fixes 6342adcaa683 ("entry: Ensure trap after single-step on system call return"CC Kyle Huey <[email protected]>Signed-off-by Sedat Dilek <[email protected]>--- arch/x86/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)arch/x86/include/asm/thread_info.h +0
-2@@ -101,7 +101,6 @@ struct thread_info {#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) -#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)#define _TIF_SSBD (1 << TIF_SSBD)#define _TIF_SPEC_IB (1 << TIF_SPEC_IB)#define _TIF_SPEC_FORCE_UPDATE (1 << TIF_SPEC_FORCE_UPDATE) --2.30.0