Commit 2a2dd7d4 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Yongzhen Zhang
Browse files

LoongArch: Move three functions from kprobes.c to inst.c

mainline inclusion
from mainline-v6.5-rc1
commit 3d2c3daf
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7MWTU


CVE: NA

--------------------------------

The three functions insns_not_supported(), insns_need_simulation() and
arch_simulate_insn() will be used for uprobes, move them from kprobes.c
to inst.c, this is preparation for later patch, no functionality change.

Signed-off-by: default avatarYongzhen Zhang <zhangyongzhen@kylinos.cn>
Tested-by: default avatarJeff Xie <xiehuan09@gmail.com>
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 5dfeb89b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment