summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/virt.h
diff options
context:
space:
mode:
authorMarc Zyngier2017-04-03 20:38:03 +0200
committerChristoffer Dall2017-04-09 16:49:34 +0200
commitecb5d61daaa2fc09235191926ea808e00e2e1c0c (patch)
treefba7688c744a16d507e29c8f7d8b9fa6e9fb77e7 /arch/arm/include/asm/virt.h
parentARM: decompressor: Remove __hyp_get_vectors usage (diff)
downloadkernel-qcow2-linux-ecb5d61daaa2fc09235191926ea808e00e2e1c0c.tar.gz
kernel-qcow2-linux-ecb5d61daaa2fc09235191926ea808e00e2e1c0c.tar.xz
kernel-qcow2-linux-ecb5d61daaa2fc09235191926ea808e00e2e1c0c.zip
ARM: hyp-stub/KVM: Kill __hyp_get_vectors
Nobody is using __hyp_get_vectors anymore, so let's remove both implementations (hyp-stub and KVM). Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/virt.h')
-rw-r--r--arch/arm/include/asm/virt.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/include/asm/virt.h b/arch/arm/include/asm/virt.h
index 663adc09c918..141144f333a2 100644
--- a/arch/arm/include/asm/virt.h
+++ b/arch/arm/include/asm/virt.h
@@ -53,7 +53,6 @@ static inline void sync_boot_mode(void)
}
void __hyp_set_vectors(unsigned long phys_vector_base);
-unsigned long __hyp_get_vectors(void);
void __hyp_reset_vectors(void);
#else
#define __boot_cpu_mode (SVC_MODE)
@@ -99,12 +98,11 @@ extern char __hyp_text_end[];
/* Only assembly code should need those */
-#define HVC_GET_VECTORS 0
-#define HVC_SET_VECTORS 1
-#define HVC_SOFT_RESTART 2
-#define HVC_RESET_VECTORS 3
+#define HVC_SET_VECTORS 0
+#define HVC_SOFT_RESTART 1
+#define HVC_RESET_VECTORS 2
-#define HVC_STUB_HCALL_NR 4
+#define HVC_STUB_HCALL_NR 3
#endif /* __ASSEMBLY__ */