]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
x86/asm: Remove unused TASK_TI_flags from asm-offsets.c
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 23 May 2019 14:23:25 +0000 (10:23 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 24 May 2019 06:48:17 +0000 (08:48 +0200)
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

index 168543d077d7e6024e14063fbb84a68506fc42bd..da64452584b0a1f68c290ad4eaa7266c61347510 100644 (file)
@@ -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();