x86/entry/64/compat: Save one instruction in entry_INT80_compat()
authorDominik Brodowski <[email protected]>
Tue, 6 Mar 2018 21:18:09 +0000 (22:18 +0100)
committerIngo Molnar <[email protected]>
Wed, 7 Mar 2018 06:57:31 +0000 (07:57 +0100)
commit91c5f0de64a226e0d9c558b26ef7c2655ef31cca
treee273a51fa07088bfff75fa9caf4f4c55dd1fc2c9
parentaf52201d991624d2d5adce2c123805b3d42a8d4d
x86/entry/64/compat: Save one instruction in entry_INT80_compat()

As %rdi is never user except in the following push, there is no
need to restore %rdi to the original value.

Signed-off-by: Dominik Brodowski <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/entry/entry_64_compat.S