projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: PPC: Accelerate H_PUT_TCE by implementing it in real mode
[firefly-linux-kernel-4.4.55.git]
/
arch
/
powerpc
/
include
/
asm
/
kvm_book3s_64.h
diff --git
a/arch/powerpc/include/asm/kvm_book3s_64.h
b/arch/powerpc/include/asm/kvm_book3s_64.h
index 5f73388ea0afc467f7148047b0f0b13230ba39f7..e43fe42b9875308b49e13faa8a67ef91fe125200 100644
(file)
--- a/
arch/powerpc/include/asm/kvm_book3s_64.h
+++ b/
arch/powerpc/include/asm/kvm_book3s_64.h
@@
-27,4
+27,6
@@
static inline struct kvmppc_book3s_shadow_vcpu *to_svcpu(struct kvm_vcpu *vcpu)
}
#endif
+#define SPAPR_TCE_SHIFT 12
+
#endif /* __ASM_KVM_BOOK3S_64_H__ */