diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-04-07 23:43:43 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-09 11:31:26 +0300 |
commit | 54a81e914b2432a86dd49cf611b0f71ef44ca7ad (patch) | |
tree | 2e8c169668a6eb365aa78e34189856054004d9ab /arch/x86 | |
parent | 66ad4efa51805964521db03d8aa827a8dd9058b9 (diff) | |
download | linux-54a81e914b2432a86dd49cf611b0f71ef44ca7ad.tar.xz |
x86/asm/entry/64: Remove GET_THREAD_INFO() in ret_from_fork
It used to be used to check for _TIF_IA32, but the check has
been removed.
Remove GET_THREAD_INFO() too.
Run-tested.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/1428439424-7258-7-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index a35e5e4435ef..b67f2fc0d160 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -603,8 +603,6 @@ ENTRY(ret_from_fork) call schedule_tail # rdi: 'prev' task parameter - GET_THREAD_INFO(%rcx) - RESTORE_EXTRA_REGS testl $3,CS(%rsp) # from kernel_thread? |