diff options
author | Andy Lutomirski <[email protected]> | 2017-11-02 00:59:02 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-11-02 11:04:39 +0100 |
commit | e53178328c9b96fbdbc719e78c93b5687ee007c3 (patch) | |
tree | b1b4b288f1ee2e55eebcb7795c9b65cfb552ff07 /lib/memory-notifier-error-inject.c | |
parent | e872045bfd9c465a8555bab4b8567d56a4d2d3bb (diff) |
x86/entry/64: Shrink paranoid_exit_restore and make labels local
paranoid_exit_restore was a copy of restore_regs_and_return_to_kernel.
Merge them and make the paranoid_exit internal labels local.
Keeping .Lparanoid_exit makes the code a bit shorter because it
allows a 2-byte jnz instead of a 5-byte jnz.
Saves 96 bytes of text.
( This is still a bit suboptimal in a non-CONFIG_TRACE_IRQFLAGS
kernel, but fixing that would make the code rather messy. )
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/510d66a1895cda9473c84b1086f0bb974f22de6a.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions