aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/hyp/tlb.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-01-06 04:32:23 -0500
committerMarc Zyngier <marc.zyngier@arm.com>2016-02-29 13:34:15 -0500
commitfa85e25dad0f3f4e7ff2c58a914dcfe53210f680 (patch)
tree79069cc2321f21d3cbe92a4e4aed6685df92acfb /arch/arm/kvm/hyp/tlb.c
parentd4c7688c51e57be20ca5f3dffa4c8771888a42fc (diff)
ARM: KVM: Remove __weak attributes
Now that the old code is long gone, we can remove all the weak attributes, as there is only one version of the code. Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/hyp/tlb.c')
-rw-r--r--arch/arm/kvm/hyp/tlb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kvm/hyp/tlb.c b/arch/arm/kvm/hyp/tlb.c
index aaa44bbac766..82958b8f6a74 100644
--- a/arch/arm/kvm/hyp/tlb.c
+++ b/arch/arm/kvm/hyp/tlb.c
@@ -50,14 +50,14 @@ static void __hyp_text __tlb_flush_vmid(struct kvm *kvm)
50 write_sysreg(0, VTTBR); 50 write_sysreg(0, VTTBR);
51} 51}
52 52
53__alias(__tlb_flush_vmid) void __weak __kvm_tlb_flush_vmid(struct kvm *kvm); 53__alias(__tlb_flush_vmid) void __kvm_tlb_flush_vmid(struct kvm *kvm);
54 54
55static void __hyp_text __tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa) 55static void __hyp_text __tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa)
56{ 56{
57 __tlb_flush_vmid(kvm); 57 __tlb_flush_vmid(kvm);
58} 58}
59 59
60__alias(__tlb_flush_vmid_ipa) void __weak __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, 60__alias(__tlb_flush_vmid_ipa) void __kvm_tlb_flush_vmid_ipa(struct kvm *kvm,
61 phys_addr_t ipa); 61 phys_addr_t ipa);
62 62
63static void __hyp_text __tlb_flush_vm_context(void) 63static void __hyp_text __tlb_flush_vm_context(void)
@@ -67,4 +67,4 @@ static void __hyp_text __tlb_flush_vm_context(void)
67 dsb(ish); 67 dsb(ish);
68} 68}
69 69
70__alias(__tlb_flush_vm_context) void __weak __kvm_flush_vm_context(void); 70__alias(__tlb_flush_vm_context) void __kvm_flush_vm_context(void);