]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09f3717cabb6217bb30a073076bcdbabdd1bb797
treeaed0f1486f410231366c96047a8cc8267b5e4468
parent5840dcfe9c206de868356bebb9d44cad73ca82e8
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