git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d383741
)
powerpc: Drop unused syscall_get_error()
author
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 23 Jul 2015 10:21:03 +0000
(20:21 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 29 Jul 2015 01:56:12 +0000
(11:56 +1000)
syscall_get_error() is unused, and never has been.
It's also probably wrong, as it negates r3 before returning it, but that
depends on what the caller is expecting.
It also doesn't deal with compat, and doesn't deal with TIF_NOERROR.
Although we could fix those, until it has a caller and it's clear what
semantics the caller wants it's just untested code. So drop it.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
arch/powerpc/include/asm/syscall.h
patch
|
blob
|
history
diff --cc
arch/powerpc/include/asm/syscall.h
Simple merge