summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2018-02-21 05:42:14 +0300
committerIngo Molnar <mingo@kernel.org>2018-02-21 18:54:07 +0300
commit0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac (patch)
tree866043b4ad57ddfb6fe60eef21ea1b0381e9f36e /Makefile
parent9fbcc57aa16424ef84cb54e0d9db3221763de88a (diff)
downloadlinux-0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac.tar.xz
x86/entry/64: Simplify ENCODE_FRAME_POINTER
On 64-bit, the stack pointer is always aligned on interrupt, so instead of setting the LSB of the pt_regs address, we can just add 1 to it. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andrew Lutomirski <luto@kernel.org> Cc: Brian Gerst <brgerst@gmail.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20180221024214.lhl5jfgw33c4vz3m@treble Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions