Skip to contentSkip to conversation

x86: Remove unused TASK_TI_flags from asm-offsets.c

PATCH New Steven Rostedt 2 participants 2 messages May 23, 2019 – May 24, 2019 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Remove unused TASK_TI_flags from asm-offsets.c

From: Steven Rostedt (VMware) <[email protected]>

Since commit 21d375b6b34ff5 ("x86/entry/64: Remove the SYSCALL64 fast path"), there is no user of TASK_TI_flags in assembly. There's no need to keep it around in asm-offsets.c

---

arch/x86/kernel/asm-offsets.c +0 -1
index 168543d077d7..da64452584b0 100644
@@ -38,7 +38,6 @@ static void __used common(void)
 #endif
 
 	BLANK();
-	OFFSET(TASK_TI_flags, task_struct, thread_info.flags);
 	OFFSET(TASK_addr_limit, task_struct, thread.addr_limit);
 
 	BLANK();
#1 lore raw

[tip:x86/asm] x86/asm: Remove unused TASK_TI_flags from asm-offsets.c

x86/asm: Remove unused TASK_TI_flags from asm-offsets.c
Commit-ID:  7231d0165df3754ec90a2868a026a146401ec751
Gitweb:     https://git.kernel.org/tip/7231d0165df3754ec90a2868a026a146401ec751
Author:     Steven Rostedt (VMware) <[email protected]>
AuthorDate: Thu, 23 May 2019 10:23:25 -0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 24 May 2019 08:48:17 +0200

x86/asm: Remove unused TASK_TI_flags from asm-offsets.c

Since commit:

21d375b6b34ff5 ("x86/entry/64: Remove the SYSCALL64 fast path")

there is no user of TASK_TI_flags in assembly. There's no need to keep it around in asm-offsets.c

---
 arch/x86/kernel/asm-offsets.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kernel/asm-offsets.c +0 -1
index 168543d077d7..da64452584b0 100644
@@ -38,7 +38,6 @@ static void __used common(void)
 #endif
 
 	BLANK();
-	OFFSET(TASK_TI_flags, task_struct, thread_info.flags);
 	OFFSET(TASK_addr_limit, task_struct, thread.addr_limit);
 
 	BLANK();