mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
ANDROID: KVM: arm64: Fix hyp tracing build dependencies
The hyp tracing support depends on CONFIG_TRACING, not CONFIG_FTRACE. Also, TRACING might be selected while FTRACE is not leading to a build error. Bug: 306320920 Change-Id: I69614b6d1eb0e3d9013e00c2d10836b37034b929 Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
This commit is contained in:
committed by
Will Deacon
parent
673d30e3f5
commit
077735bc14
@@ -126,7 +126,7 @@ KVM_NVHE_ALIAS(__hyp_data_start);
|
|||||||
KVM_NVHE_ALIAS(__hyp_data_end);
|
KVM_NVHE_ALIAS(__hyp_data_end);
|
||||||
KVM_NVHE_ALIAS(__hyp_rodata_start);
|
KVM_NVHE_ALIAS(__hyp_rodata_start);
|
||||||
KVM_NVHE_ALIAS(__hyp_rodata_end);
|
KVM_NVHE_ALIAS(__hyp_rodata_end);
|
||||||
#ifdef CONFIG_FTRACE
|
#ifdef CONFIG_TRACING
|
||||||
KVM_NVHE_ALIAS(__hyp_event_ids_start);
|
KVM_NVHE_ALIAS(__hyp_event_ids_start);
|
||||||
KVM_NVHE_ALIAS(__hyp_event_ids_end);
|
KVM_NVHE_ALIAS(__hyp_event_ids_end);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ int main(void)
|
|||||||
DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page));
|
DEFINE(STRUCT_HYP_PAGE_SIZE, sizeof(struct hyp_page));
|
||||||
DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm));
|
DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm));
|
||||||
DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu));
|
DEFINE(PKVM_HYP_VCPU_SIZE, sizeof(struct pkvm_hyp_vcpu));
|
||||||
#ifdef CONFIG_FTRACE
|
#ifdef CONFIG_TRACING
|
||||||
DEFINE(STRUCT_HYP_BUFFER_PAGE_SIZE, sizeof(struct hyp_buffer_page));
|
DEFINE(STRUCT_HYP_BUFFER_PAGE_SIZE, sizeof(struct hyp_buffer_page));
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user