diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2012-09-16 23:54:31 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-18 15:32:45 +1000 |
commit | 8e9f69371536981a2a8c9ee4a49dbe3aa4946df4 (patch) | |
tree | 8785a164fdaa422a146fdda4b21100189858f90d /arch/powerpc/include/asm | |
parent | a9c4e541ea9b22944da356f2a9258b4eddcc953b (diff) | |
download | blackbird-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