[PATCH] kvm: optimize inline assembly
authorIngo Molnar <mingo@elte.hu>
Mon, 12 Feb 2007 08:54:33 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:40 +0000 (09:48 -0800)
commit96958231cea5985e32db2ae1125ec20483e3556b
treef8a6a89db6ecd5af726e3e65c55cb122cf29841d
parent54fb996ac15c4014fa4d6b0ec8e42da134204897
[PATCH] kvm: optimize inline assembly

Forms like "0(%rsp)" generate an instruction with an unnecessary one byte
displacement under certain circumstances.  replace with the equivalent
"(%rsp)".

Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/vmx.c