projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4c66e
)
powerpc: Remove orphaned asm implementation of abs()
author
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Mar 2016 10:36:05 +0000
(21:36 +1100)
committer
Michael 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/misc_32.S
b/arch/powerpc/kernel/misc_32.S
index bf5160fbf9d8437c11afae2b75a5b3d29bab79ff..285ca8c6cc2ea5cd9472466c6d901e81b742712c 100644
(file)
--- 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 */