KVM: x86 emulator: Use the pointers ctxt and c consistently
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 29 May 2011 12:53:48 +0000 (21:53 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:15:57 +0000 (13:15 +0300)
commit9d74191ab1ea857d1cc27e439316eebf8ae46d19
treeaed0f1486f410231366c96047a8cc8267b5e4468
parent55399a02e90fdc6cd45165b2df5dd97b7c3f018f
KVM: x86 emulator: Use the pointers ctxt and c consistently

We should use the local variables ctxt and c when the emulate_ctxt and
decode appears many times.  At least, we need to be consistent about
how we use these in a function.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c