[PATCH] powerpc32: get rid of sub_reloc_offset()

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3714d

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

[PATCH] powerpc32: get rid of sub_reloc_offset()

From: Christophe Leroy <hidden>
Date: 2016-05-23 08:45:54

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 <redacted>
---
 arch/powerpc/kernel/misc_32.S | 14 --------------
 1 file changed, 14 deletions(-)
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index 285ca8c..d9c912b 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.
  */
-- 
2.1.0

Re: powerpc32: get rid of sub_reloc_offset()

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-06-02 07:29:24

On Mon, 2016-23-05 at 08:45:49 UTC, Christophe Leroy wrote:
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 <redacted>
---
 arch/powerpc/kernel/misc_32.S | 14 --------------
 1 file changed, 14 deletions(-)
Thanks.

For future patches can you use "powerpc/32:" as your prefix, thanks.

cheers

Re: powerpc32: get rid of sub_reloc_offset()

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-06-15 12:39:23

On Mon, 2016-23-05 at 08:45:49 UTC, Christophe Leroy wrote:
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 <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e289086f6530dd85d88967bfce

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help