x86/entry: Get rid of pt_regs_to_thread_info()
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Sep 2016 21:29:22 +0000 (14:29 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 15 Sep 2016 06:25:12 +0000 (08:25 +0200)
commit97245d00585d82540f4538cf72d92a1e853c7b0e
tree26054c5eba683abdb5163d60e85bf2c90997882c
parentb9d989c7218ac922185d82ad46f3e58b27a4bea9
x86/entry: Get rid of pt_regs_to_thread_info()

It was a nice optimization while it lasted, but thread_info is moving
and this optimization will no longer work.

Quoting Linus:

    Oh Gods, Andy. That pt_regs_to_thread_info() thing made me want
    to do unspeakable acts on a poor innocent wax figure that looked
    _exactly_ like you.

[ Changelog written by Andy. ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jann Horn <jann@thejh.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/6376aa81c68798cc81631673f52bd91a3e078944.1473801993.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/common.c