linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc32: get rid of sub_reloc_offset()
@ 2016-05-23  8:45 Christophe Leroy
  2016-06-02  7:29 ` Michael Ellerman
  2016-06-15 12:39 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Christophe Leroy @ 2016-05-23  8:45 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman, Scott Wood
  Cc: linux-kernel, linuxppc-dev

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>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: powerpc32: get rid of sub_reloc_offset()
  2016-05-23  8:45 [PATCH] powerpc32: get rid of sub_reloc_offset() Christophe Leroy
@ 2016-06-02  7:29 ` Michael Ellerman
  2016-06-15 12:39 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2016-06-02  7:29 UTC (permalink / raw)
  To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras, Scott Wood
  Cc: linuxppc-dev, linux-kernel

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 <christophe.leroy@c-s.fr>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: powerpc32: get rid of sub_reloc_offset()
  2016-05-23  8:45 [PATCH] powerpc32: get rid of sub_reloc_offset() Christophe Leroy
  2016-06-02  7:29 ` Michael Ellerman
@ 2016-06-15 12:39 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2016-06-15 12:39 UTC (permalink / raw)
  To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras, Scott Wood
  Cc: linuxppc-dev, linux-kernel

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 <christophe.leroy@c-s.fr>

Applied to powerpc next, thanks.

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

cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-15 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23  8:45 [PATCH] powerpc32: get rid of sub_reloc_offset() Christophe Leroy
2016-06-02  7:29 ` Michael Ellerman
2016-06-15 12:39 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).