aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2023-10-18 08:42:52 +0800
committerHuacai Chen <[email protected]>2023-10-18 08:42:52 +0800
commit477a0ebec101359f49d92796e3b609857d564b52 (patch)
treeaa4d25131608db23cdad1e20058b51f8d0a4d929 /tools/perf/util/trace-event-scripting.c
parent449c2756c2323c9e32b2a2fa9c8b59ce91b5819d (diff)
LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
Replace kmap_atomic()/kunmap_atomic() calls with kmap_local_page()/ kunmap_local() in copy_user_highpage() which can be invoked from both preemptible and atomic context [1]. [1] https://lore.kernel.org/all/[email protected]/ Suggested-by: Deepak R Varma <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions