diff options
author | Alexander Graf <agraf@suse.de> | 2010-03-24 16:48:35 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:17:18 -0400 |
commit | 5a1b419fc936af9f10766c889d83d80990ecd300 (patch) | |
tree | 3b6cad836c66996227f95e492ac8dd9eda5bc8c7 /arch/powerpc/include | |
parent | a1eda280ccd5fee71a89a94030f96bca5faebe21 (diff) |
KVM: PPC: Use ULL for big numbers
Some constants were bigger than ints. Let's mark them as such so we don't
accidently truncate them.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm_book3s.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s.h b/arch/powerpc/include/asm/kvm_book3s.h index 7e243b2cac72..8a6b4c540862 100644 --- a/arch/powerpc/include/asm/kvm_book3s.h +++ b/arch/powerpc/include/asm/kvm_book3s.h | |||
@@ -100,12 +100,12 @@ struct kvmppc_vcpu_book3s { | |||
100 | #define CONTEXT_GUEST 1 | 100 | #define CONTEXT_GUEST 1 |
101 | #define CONTEXT_GUEST_END 2 | 101 | #define CONTEXT_GUEST_END 2 |
102 | 102 | ||
103 | #define VSID_REAL_DR 0x7ffffffffff00000 | 103 | #define VSID_REAL_DR 0x7ffffffffff00000ULL |
104 | #define VSID_REAL_IR 0x7fffffffffe00000 | 104 | #define VSID_REAL_IR 0x7fffffffffe00000ULL |
105 | #define VSID_SPLIT_MASK 0x7fffffffffe00000 | 105 | #define VSID_SPLIT_MASK 0x7fffffffffe00000ULL |
106 | #define VSID_REAL 0x7fffffffffc00000 | 106 | #define VSID_REAL 0x7fffffffffc00000ULL |
107 | #define VSID_BAT 0x7fffffffffb00000 | 107 | #define VSID_BAT 0x7fffffffffb00000ULL |
108 | #define VSID_PR 0x8000000000000000 | 108 | #define VSID_PR 0x8000000000000000ULL |
109 | 109 | ||
110 | extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, u64 ea, u64 ea_mask); | 110 | extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, u64 ea, u64 ea_mask); |
111 | extern void kvmppc_mmu_pte_vflush(struct kvm_vcpu *vcpu, u64 vp, u64 vp_mask); | 111 | extern void kvmppc_mmu_pte_vflush(struct kvm_vcpu *vcpu, u64 vp, u64 vp_mask); |