diff options
| author | Tiezhu Yang <[email protected]> | 2023-06-29 20:58:44 +0800 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2023-06-29 20:58:44 +0800 |
| commit | 6e320363339b585a36bf40d74592db3db021e017 (patch) | |
| tree | fb62b5307b7580861fd4fa037dc3fb6961086a57 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | 49ed320da5f52ec729e7f2f9edbc6e79848455bd (diff) | |
LoongArch: Use larch_insn_gen_break() for kprobes
For now, we can use larch_insn_gen_break() to define KPROBE_BP_INSN and
KPROBE_SSTEPBP_INSN. Because larch_insn_gen_break() returns instruction
word, define kprobe_opcode_t as u32, then do some small changes related
with type conversion, no functional change intended.
Tested-by: Jeff Xie <[email protected]>
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions