x86/nmi/64: Minor asm simplification
authorAndy Lutomirski <luto@kernel.org>
Wed, 15 Jul 2015 17:29:39 +0000 (10:29 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 17 Jul 2015 10:50:13 +0000 (12:50 +0200)
commit23a781e987f05029c4a99a5c145be3efa6eda9f3
tree8f80cdb789b0e91a43ffec89f52a8f1711758b17
parent810bc075f78ff2c221536eb3008eac6a492dba2d
x86/nmi/64: Minor asm simplification

Replace LEA; MOV with an equivalent SUB.  This saves one
instruction.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S