Thread (53 messages) flat view 53 messages, 6 authors, 2022-09-16

Re: [PATCH v4 01/20] powerpc: Remove asmlinkage from syscall handler definitions

From: "Nicholas Piggin" <npiggin@gmail.com>
Date: 2022-09-12 08:21:27

On Wed Aug 24, 2022 at 12:05 PM AEST, Rohan McLure wrote:
The asmlinkage macro has no special meaning in powerpc, and prior to
this patch is used sporadically on some syscall handler definitions. On
architectures that do not define asmlinkage, it resolves to extern "C"
for C++ compilers and a nop otherwise. The current invocations of
asmlinkage provide far from complete support for C++ toolchains, and so
the macro serves no purpose in powerpc.

Remove all invocations of asmlinkage in arch/powerpc. These incidentally
only occur in syscall definitions and prototypes.

Signed-off-by: Rohan McLure <redacted>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help