From: Ingo Molnar <[EMAIL PROTECTED]>
Subject: [patch] KVM: fix AUDIT code

fix build bug with AUDIT defined. (it's off by default)

Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>

Index: linux/drivers/kvm/mmu.c
===================================================================
--- linux.orig/drivers/kvm/mmu.c
+++ linux/drivers/kvm/mmu.c
@@ -1410,7 +1410,7 @@ static void audit_mappings_page(struct k
 
 static void audit_mappings(struct kvm_vcpu *vcpu)
 {
-       unsigned i;
+       unsigned i, j;
 
        if (vcpu->mmu.root_level == 4) {
                audit_mappings_page(vcpu, vcpu->mmu.root_hpa, 0, 4);

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to