Skip to content

Commit

Permalink
powerpc: Remove orphaned asm implementation of abs()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman committed Apr 11, 2016
1 parent 1f4c66e commit b05fac7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/powerpc/kernel/misc_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b05fac7

Please sign in to comment.