]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup kprobes handler couldn't change pc
authorGuo Ren <guoren@linux.alibaba.com>
Tue, 28 Jul 2020 16:25:23 +0000 (16:25 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 31 Jul 2020 01:51:57 +0000 (01:51 +0000)
commitfe7151e607ab32305a783fbb1af691485b0dea9c
treef0de95d035255dc8b0976765a0e4268e171d8ba0
parent7e25596c0c4b786e7fb177bf0a7db216bee54abf
csky: Fixup kprobes handler couldn't change pc

The "Changing Execution Path" section in the Documentation/kprobes.txt
said:

Since kprobes can probe into a running kernel code, it can change the
register set, including instruction pointer.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/abiv2/mcount.S