Commit-ID:  7231d0165df3754ec90a2868a026a146401ec751
Gitweb:     https://git.kernel.org/tip/7231d0165df3754ec90a2868a026a146401ec751
Author:     Steven Rostedt (VMware) <rost...@goodmis.org>
AuthorDate: Thu, 23 May 2019 10:23:25 -0400
Committer:  Ingo Molnar <mi...@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) <rost...@goodmis.org>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Borislav Petkov <b...@alien8.de>
Cc: H. Peter Anvin <h...@zytor.com>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Link: http://lkml.kernel.org/r/20190523102325.22eac...@gandalf.local.home
Signed-off-by: Ingo Molnar <mi...@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();

Reply via email to