diff options
author | Marc Zyngier <maz@kernel.org> | 2020-06-15 23:03:30 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-06-22 13:42:50 +0300 |
commit | 11ac16a4290b72efa8328cb144b727f3cbbdfa6a (patch) | |
tree | f62037ce0c8d03ca86024806ad751c0d5c0314dd /net/unix/af_unix.c | |
parent | 655169cec7bbf84f59faa9f824edb581eaecf78d (diff) | |
download | linux-11ac16a4290b72efa8328cb144b727f3cbbdfa6a.tar.xz |
KVM: arm64: Simplify PtrAuth alternative patching
We currently decide to execute the PtrAuth save/restore code based
on a set of branches that evaluate as (ARM64_HAS_ADDRESS_AUTH_ARCH ||
ARM64_HAS_ADDRESS_AUTH_IMP_DEF). This can be easily replaced by
a much simpler test as the ARM64_HAS_ADDRESS_AUTH capability is
exactly this expression.
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions