diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-02-11 11:49:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-02-13 09:04:52 +0100 |
commit | 2e3f0098bc45f710a2f4cbcc94b80a1fae7a99a1 (patch) | |
tree | 869d6d7b5b7a6a415980d5910c098e4d1bee1162 /scripts/checkversion.pl | |
parent | x86/speculation: Clean up various Spectre related details (diff) | |
download | linux-2e3f0098bc45f710a2f4cbcc94b80a1fae7a99a1.tar.xz linux-2e3f0098bc45f710a2f4cbcc94b80a1fae7a99a1.zip |
x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
All current code paths call SAVE_C_REGS and then immediately
SAVE_EXTRA_REGS. Therefore, merge these two macros and order the MOV
sequeneces properly.
While at it, remove the macros to save all except specific registers,
as these macros have been unused for a long time.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: 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: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dan.j.williams@intel.com
Link: http://lkml.kernel.org/r/20180211104949.12992-2-linux@dominikbrodowski.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions