summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@windriver.com>2012-09-16 23:54:31 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-18 05:32:45 (GMT)
commit8e9f69371536981a2a8c9ee4a49dbe3aa4946df4 (patch)
tree8785a164fdaa422a146fdda4b21100189858f90d /arch/powerpc/platforms
parenta9c4e541ea9b22944da356f2a9258b4eddcc953b (diff)
downloadlinux-fsl-qoriq-8e9f69371536981a2a8c9ee4a49dbe3aa4946df4.tar.xz
powerpc/kprobe: Don't emulate store when kprobe stwu r1
We don't do the real store operation for kprobing 'stwu Rx,(y)R1' since this may corrupt the exception frame, now we will do this operation safely in exception return code after migrate current exception frame below the kprobed function stack. So we only update gpr[1] here and trigger a thread flag to mask this. Note we should make sure if we trigger kernel stack over flow. Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions