summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2014-04-17 11:06:12 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2014-04-23 22:49:48 +0200
commita086f6a1ebc9d8d2d028b99e779ce0dbd9691dea (patch)
treede33d7b00d27226d7b775dd038875f12d55c6e0a /include
parentKVM: x86: Processor mode may be determined incorrectly (diff)
downloadlinux-a086f6a1ebc9d8d2d028b99e779ce0dbd9691dea.tar.xz
linux-a086f6a1ebc9d8d2d028b99e779ce0dbd9691dea.zip
Revert "KVM: Simplify kvm->tlbs_dirty handling"
This reverts commit 5befdc385ddb2d5ae8995ad89004529a3acf58fc. Since we will allow flush tlb out of mmu-lock in the later patch Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm_host.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 32d263f683dc..820fc2e1d9df 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -411,9 +411,7 @@ struct kvm {
unsigned long mmu_notifier_seq;
long mmu_notifier_count;
#endif
- /* Protected by mmu_lock */
- bool tlbs_dirty;
-
+ long tlbs_dirty;
struct list_head devices;
};