]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: disasm: handle ARCv2 case in kprobe get/set functions
authorSergey Matyukevich <sergey.matyukevich@synopsys.com>
Thu, 14 Apr 2022 08:17:24 +0000 (11:17 +0300)
committerVineet Gupta <vgupta@kernel.org>
Tue, 26 Apr 2022 16:34:42 +0000 (09:34 -0700)
commit84a5cb80012a6a711d481534ac00cc2eaef07940
tree09e26a6dab33fd24e5c4363a85ec611b99a9e862
parentf24b61da05e42e7c5d9411bcd2356955b308ebe5
ARC: disasm: handle ARCv2 case in kprobe get/set functions

Current implementation of get_reg/set_reg implies ARCompact layout
of pt_regs structure. Meanwhile pt_regs structure differs between
ARCompact and ARCv2. Update those functions to handle ARCv2.

Tested-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/kernel/disasm.c