LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: Remove unused TASK_TI_flags from asm-offsets.c
@ 2019-05-23 14:23 Steven Rostedt
  2019-05-24  8:05 ` [tip:x86/asm] x86/asm: " tip-bot for Steven Rostedt (VMware)
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2019-05-23 14:23 UTC (permalink / raw)
  To: LKML, x86
  Cc: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Borislav Petkov,
	Andy Lutomirski


From: Steven Rostedt (VMware) <rostedt@goodmis.org>

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

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c
index 168543d077d7..da64452584b0 100644
--- a/arch/x86/kernel/asm-offsets.c
+++ b/arch/x86/kernel/asm-offsets.c
@@ -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();

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-24  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 14:23 [PATCH] x86: Remove unused TASK_TI_flags from asm-offsets.c Steven Rostedt
2019-05-24  8:05 ` [tip:x86/asm] x86/asm: " tip-bot for Steven Rostedt (VMware)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).