diff options
| author | Markos Chandras <[email protected]> | 2014-01-22 14:39:59 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2014-03-26 23:09:08 +0100 |
| commit | 6e34574603f633fa67cf1037aa6374292469c74f (patch) | |
| tree | 6acbdca176c0e543238055998e03ef2c4144849f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 22feadbe4c455491be5725bc7a6073b98db5db99 (diff) | |
MIPS: asm: syscall: Define syscall_get_arch
This effectively renames __syscall_get_arch to syscall_get_arch
and implements a compatible interface for the seccomp API.
The seccomp code (kernel/seccomp.c) expects a syscall_get_arch
function to be defined for every architecture, so we drop
the leading underscores from the existing function.
This also makes use of the 'task' argument to determine the type
the process instead of assuming the process has the same
characteristics as the kernel it's running on.
Signed-off-by: Markos Chandras <[email protected]>
Reviewed-by: Paul Burton <[email protected]>
Reviewed-by: James Hogan <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/6398/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions