]> err.no Git - linux-2.6/commit
[PATCH] KVM: Clean up AMD SVM debug registers load and unload
authorAvi Kivity <avi@qumranet.com>
Wed, 13 Dec 2006 08:33:45 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:46 +0000 (09:05 -0800)
commit5aff458e9c90df55d6badabd89a1a063a80d9768
tree278b56e2f14128c4c73553d0037b385614421e9b
parentfd24dc4af6387d820159e3affdfb1e9d3bdce1f8
[PATCH] KVM: Clean up AMD SVM debug registers load and unload

By letting gcc choose the temporary register for us, we lose arch dependency
and some ugliness.  Conceivably gcc will also generate marginally better code.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/svm.c