From fe5cfe2df015d8169477890d493f9ddaec22e545 Mon Sep 17 00:00:00 2001 From: lishusen Date: Thu, 21 Mar 2024 12:18:40 +0800 Subject: [PATCH] arm64: Delete macro in the ncsnp feature ANBZ: #33012 commit 919523e4a164aa288398c9a63ce5a0e42a83b6dd openEuler. The macro in the ncsnp feature is deleted to rectify the compilation problem. Signed-off-by: lishusen [Fixes: 9b4dc6549916 ("KVM: arm64: Only probe Hisi ncsnp feature on Hisi CPUs")] Signed-off-by: zhangxinghao --- arch/arm64/kernel/image-vars.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/kernel/image-vars.h b/arch/arm64/kernel/image-vars.h index 68380ea092ae..21c9057135f2 100644 --- a/arch/arm64/kernel/image-vars.h +++ b/arch/arm64/kernel/image-vars.h @@ -106,10 +106,8 @@ KVM_NVHE_ALIAS(__hyp_rodata_end); /* pKVM static key */ KVM_NVHE_ALIAS(kvm_protected_mode_initialized); -#ifdef CONFIG_KVM_HISI_VIRT /* Capability of non-cacheable snooping */ KVM_NVHE_ALIAS(kvm_ncsnp_support); -#endif #endif /* CONFIG_KVM */ -- Gitee