]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: sve: Provide sve_cond_update_zcr_vq fallback when !ARM64_SVE
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 31 Mar 2021 09:44:39 +0000 (17:44 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 31 Mar 2021 10:08:28 +0000 (11:08 +0100)
commita9f8696d4be5228de9d1d4f0e9f027b64d77dab6
tree0088a4a89d171174c3ab4c4a9adbd143e753456a
parent5b08709313718e95ba06ef49aa82f964a605bd9c
arm64: sve: Provide sve_cond_update_zcr_vq fallback when !ARM64_SVE

Compilation fails when KVM is selected and ARM64_SVE isn't.

The root cause is that sve_cond_update_zcr_vq is not defined when
ARM64_SVE is not selected. Fix it by adding an empty definition
when CONFIG_ARM64_SVE=n.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
[maz: simplified commit message, fleshed out dummy #define]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1617183879-48748-1-git-send-email-tanxiaofei@huawei.com
arch/arm64/include/asm/fpsimd.h