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
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
kvm
/
psci.c
diff --git
a/arch/arm/kvm/psci.c
b/arch/arm/kvm/psci.c
index 311263124acf303606b3081ae71fc0169e7f1dac..0881bf169fbce5cf09db6da3ff0996df6cf989cb 100644
(file)
--- a/
arch/arm/kvm/psci.c
+++ b/
arch/arm/kvm/psci.c
@@
-71,6
+71,10
@@
static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu)
vcpu_set_thumb(vcpu);
}
+ /* Propagate caller endianness */
+ if (kvm_vcpu_is_be(source_vcpu))
+ kvm_vcpu_set_be(vcpu);
+
*vcpu_pc(vcpu) = target_pc;
vcpu->arch.pause = false;
smp_mb(); /* Make sure the above is visible */