summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@windriver.com>2012-09-16 23:54:31 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-18 15:32:45 +1000
commit8e9f69371536981a2a8c9ee4a49dbe3aa4946df4 (patch)
tree8785a164fdaa422a146fdda4b21100189858f90d /arch/powerpc/include/asm
parenta9c4e541ea9b22944da356f2a9258b4eddcc953b (diff)
downloadblackbird-op-linux-8e9f69371536981a2a8c9ee4a49dbe3aa4946df4.tar.gz
blackbird-op-linux-8e9f69371536981a2a8c9ee4a49dbe3aa4946df4.zip
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/include/asm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud