All of 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

* [tip:x86/asm] x86/asm: Remove unused TASK_TI_flags from asm-offsets.c
  2019-05-23 14:23 [PATCH] x86: Remove unused TASK_TI_flags from asm-offsets.c Steven Rostedt
@ 2019-05-24  8:05 ` tip-bot for Steven Rostedt (VMware)
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Steven Rostedt (VMware) @ 2019-05-24  8:05 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, torvalds, luto, rostedt, peterz, bp, mingo, hpa, tglx

Commit-ID:  7231d0165df3754ec90a2868a026a146401ec751
Gitweb:     https://git.kernel.org/tip/7231d0165df3754ec90a2868a026a146401ec751
Author:     Steven Rostedt (VMware) <rostedt@goodmis.org>
AuthorDate: Thu, 23 May 2019 10:23:25 -0400
Committer:  Ingo Molnar <mingo@kernel.org>
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

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20190523102325.22eacdf7@gandalf.local.home
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/asm-offsets.c | 1 -
 1 file changed, 1 deletion(-)

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.