linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] powerpc: Remove orphaned asm implementation of abs()
@ 2016-03-16 10:36 Michael Ellerman
  2016-03-16 10:36 ` [PATCH 2/2] powerpc: Make generic_memcpy() private to copy_32.S Michael Ellerman
  2016-04-11 12:35 ` [1/2] powerpc: Remove orphaned asm implementation of abs() Michael Ellerman
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Ellerman @ 2016-03-16 10:36 UTC (permalink / raw)
  To: linuxppc-dev

This has been unused since ~2004, remove it.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/misc_32.S | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index be8edd67f05b..c0cd779adfc3 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -684,12 +684,6 @@ _GLOBAL(__bswapdi2)
 	mr      r4,r10
 	blr
 
-_GLOBAL(abs)
-	srawi	r4,r3,31
-	xor	r3,r3,r4
-	sub	r3,r3,r4
-	blr
-
 #ifdef CONFIG_SMP
 _GLOBAL(start_secondary_resume)
 	/* Reset stack */
-- 
2.5.0

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

end of thread, other threads:[~2016-04-11 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 10:36 [PATCH 1/2] powerpc: Remove orphaned asm implementation of abs() Michael Ellerman
2016-03-16 10:36 ` [PATCH 2/2] powerpc: Make generic_memcpy() private to copy_32.S Michael Ellerman
2016-04-11 12:35   ` [2/2] " Michael Ellerman
2016-04-11 12:35 ` [1/2] powerpc: Remove orphaned asm implementation of abs() 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).