summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2016-05-23 10:45:49 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-14 05:58:26 +0200
commite289086f6530dd85d88967bfceded98bdbcd7f41 (patch)
treeb029060aa5b90e34fb86086769d8cd4fb402a3dc /arch
parentpowerpc: Align hot loops of some string functions (diff)
downloadlinux-e289086f6530dd85d88967bfceded98bdbcd7f41.tar.xz
linux-e289086f6530dd85d88967bfceded98bdbcd7f41.zip
powerpc/32: Get rid of sub_reloc_offset()
sub_reloc_offset() has not been used since commit 917f0af9e5a9 ("powerpc: Remove arch/ppc and include/asm-ppc") which removed include/asm-ppc/prom.h. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/misc_32.S14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index 285ca8c6cc2e..d9c912b6e632 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -104,20 +104,6 @@ _GLOBAL(mulhdu)
blr
/*
- * sub_reloc_offset(x) returns x - reloc_offset().
- */
-_GLOBAL(sub_reloc_offset)
- mflr r0
- bl 1f
-1: mflr r5
- lis r4,1b@ha
- addi r4,r4,1b@l
- subf r5,r4,r5
- subf r3,r5,r3
- mtlr r0
- blr
-
-/*
* reloc_got2 runs through the .got2 section adding an offset
* to each entry.
*/