]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commita5447fb9b32eb33b2f0f09a63e4852b46af5b056
treef0de95d035255dc8b0976765a0e4268e171d8ba0
parentf788bb2fb915a79eae0a160580766ba52984d61f
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