diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-01-06 12:10:58 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 18:34:14 +0000 |
commit | b57cd6f6407d420d522ab71b9c0dd11993e49ba1 (patch) | |
tree | 6363d50fede2853d126691c5e1d4f6ca0b19bafd /security/selinux | |
parent | c36b6db5f3e4c1bd21659aee8e67226352d254ae (diff) | |
download | blackbird-obmc-linux-b57cd6f6407d420d522ab71b9c0dd11993e49ba1.tar.gz blackbird-obmc-linux-b57cd6f6407d420d522ab71b9c0dd11993e49ba1.zip |
ARM: KVM: Change kvm_call_hyp return type to unsigned long
Having u64 as the kvm_call_hyp return type is problematic, as
it forces all kind of tricks for the return values from HYP
to be promoted to 64bit (LE has the LSB in r0, and BE has them
in r1).
Since the only user of the return value is perfectly happy with
a 32bit value, let's make kvm_call_hyp return an unsigned long,
which is 32bit on ARM.
This solves yet another headache.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions