aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2018-02-21 02:42:14 +0000
committerIngo Molnar <[email protected]>2018-02-21 15:54:07 +0000
commit0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac (patch)
tree866043b4ad57ddfb6fe60eef21ea1b0381e9f36e /lib/string_helpers.c
parentextable: Make init_kernel_text() global (diff)
downloadkernel-0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac.tar.gz
kernel-0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac.zip
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 <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Cc: Andrew Lutomirski <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Dan Williams <[email protected]> Cc: Dominik Brodowski <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/20180221024214.lhl5jfgw33c4vz3m@treble Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions