diff options
| author | Rohan McLure <[email protected]> | 2022-09-21 16:55:41 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-09-26 23:00:14 +1000 |
| commit | 5ba6c9a912fe4c60f84d6617ad10d2b8d7910990 (patch) | |
| tree | fb15fdfb4f1f24a31b5e4cb885df43a5104ff314 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4af83545538a4fa80d14b9247ffc0db556e6a556 (diff) | |
powerpc: Remove asmlinkage from syscall handler definitions
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 <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions