powerpc: Remove orphaned asm implementation of abs()
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Mar 2016 10:36:05 +0000 (21:36 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Apr 2016 10:30:41 +0000 (20:30 +1000)
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

index bf5160fbf9d8437c11afae2b75a5b3d29bab79ff..285ca8c6cc2ea5cd9472466c6d901e81b742712c 100644 (file)
@@ -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 */