diff options
author | Mark Rutland <[email protected]> | 2020-11-30 11:59:43 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-11-30 12:11:37 +0000 |
commit | 2f911d494f3f028bbe6346e383a354225682cf1b (patch) | |
tree | dd4c3b62df9a8393d4eca62b0784c19a1009cf42 /tools/perf/scripts/python/syscall-counts.py | |
parent | da192676483232a0a9478c89cdddd412e5167470 (diff) |
arm64: entry: move enter_from_user_mode to entry-common.c
In later patches we'll want to extend enter_from_user_mode() and add a
corresponding exit_to_user_mode(). As these will be common for all
entries/exits from userspace, it'd be better for these to live in
entry-common.c with the rest of the entry logic.
This patch moves enter_from_user_mode() into entry-common.c. As with
other functions in entry-common.c it is marked as noinstr (which
prevents all instrumentation, tracing, and kprobes) but there are no
other functional changes.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: James Morse <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions