diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-16 21:36:05 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-11 20:30:41 +1000 |
commit | b05fac783a75c6e9f3af2ce0824f3a6ff12540ab (patch) | |
tree | 9739c3b753f60b1a85963f70a49239d8c9f9aa51 /arch/powerpc/kernel/misc_32.S | |
parent | 1f4c66e80574e85aff25179fc71bdadfb1a701ef (diff) |
powerpc: Remove orphaned asm implementation of abs()
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>
Diffstat (limited to 'arch/powerpc/kernel/misc_32.S')
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index bf5160fbf9d8..285ca8c6cc2e 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 */ |