summaryrefslogtreecommitdiff
path: root/linux/include/linux/kvm_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/include/linux/kvm_types.h')
-rw-r--r--linux/include/linux/kvm_types.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/linux/include/linux/kvm_types.h b/linux/include/linux/kvm_types.h
index e35297a..c65f89e 100644
--- a/linux/include/linux/kvm_types.h
+++ b/linux/include/linux/kvm_types.h
@@ -72,11 +72,11 @@
typedef unsigned long gva_t;
typedef u64 gpa_t;
-typedef u64 gfn_t;
+typedef unsigned long gfn_t;
typedef unsigned long hva_t;
typedef u64 hpa_t;
-typedef u64 hfn_t;
+typedef unsigned long hfn_t;
typedef hfn_t pfn_t;
@@ -107,11 +107,4 @@ struct kvm_lapic_irq {
u32 dest_id;
};
-struct gfn_to_hva_cache {
- u64 generation;
- gpa_t gpa;
- unsigned long hva;
- struct kvm_memory_slot *memslot;
-};
-
#endif /* __KVM_TYPES_H__ */