From: Michael Ellerman Date: Wed, 16 Mar 2016 10:36:05 +0000 (+1100) Subject: powerpc: Remove orphaned asm implementation of abs() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b05fac783a75c6e9f3af2ce0824f3a6ff12540ab;p=linux.git powerpc: Remove orphaned asm implementation of abs() This has been unused since ~2004, remove it. Reported-by: Al Viro Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index bf5160fbf9d84..285ca8c6cc2ea 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S @@ -599,12 +599,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 */