summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-06-22 15:15:30 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-02 12:24:43 +0200
commitf945478d5c689ccdab8bf3ee47f27085c2836690 (patch)
treed1e35aded5196f9d675a96b15381886dc8ebc375
parentpowerpc/64s/exception: remove __BRANCH_TO_KVM (diff)
downloadlinux-f945478d5c689ccdab8bf3ee47f27085c2836690.tar.xz
linux-f945478d5c689ccdab8bf3ee47f27085c2836690.zip
powerpc/64s/exception: remove unused BRANCH_TO_COMMON
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/kernel/exceptions-64s.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index c354bb9606b8..7d062d3f6f54 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -224,20 +224,12 @@ END_FTR_SECTION_NESTED(ftr,ftr,943)
bctr
#ifdef CONFIG_RELOCATABLE
-#define BRANCH_TO_COMMON(reg, label) \
- __LOAD_HANDLER(reg, label); \
- mtctr reg; \
- bctr
-
#define BRANCH_LINK_TO_FAR(label) \
__LOAD_FAR_HANDLER(r12, label); \
mtctr r12; \
bctrl
#else
-#define BRANCH_TO_COMMON(reg, label) \
- b label
-
#define BRANCH_LINK_TO_FAR(label) \
bl label
#endif