[PATCH 1/2] powerpc: Remove orphaned asm implementation of abs()
Michael Ellerman
mpe at ellerman.id.au
Wed Mar 16 21:36:05 AEDT 2016
This has been unused since ~2004, remove it.
Reported-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Michael Ellerman <mpe at 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
More information about the Linuxppc-dev
mailing list