2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 17:14:00 +08:00
linux-next/arch/arm/include
Marc Zyngier d18232ea8a ARM: KVM: Teach some form of type-safety to kvm_call_hyp
Just like on arm64, and for the same reasons, kvm_call_hyp removes
any form of type safety when calling into HYP. But we can still
try to tell the compiler what we're trying to achieve.

Here, we can add code that would do the function call if it wasn't
guarded by an always-false predicate. Hopefully, the compiler is
dumb enough to do the type checking and clever enough to not emit
the corresponding code...

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
2019-02-19 21:05:34 +00:00
..
asm ARM: KVM: Teach some form of type-safety to kvm_call_hyp 2019-02-19 21:05:34 +00:00
debug This pull request contains Broadcom ARM-based SoCs machine files updates 2018-12-03 13:09:38 -08:00
uapi/asm arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00