diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2012-09-17 03:54:30 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-18 09:32:42 +0400 |
commit | a9c4e541ea9b22944da356f2a9258b4eddcc953b (patch) | |
tree | 3231ff5c12366200c5f5d48e654415e628a231f0 /arch/powerpc/lib | |
parent | f0d1128fcb919a73941a54f80efab04fa3160dfe (diff) | |
download | linux-a9c4e541ea9b22944da356f2a9258b4eddcc953b.tar.xz |
powerpc/kprobe: Complete kprobe and migrate exception frame
We can't emulate stwu since that may corrupt current exception stack.
So we will have to do real store operation in the exception return code.
Firstly we'll allocate a trampoline exception frame below the kprobed
function stack and copy the current exception frame to the trampoline.
Then we can do this real store operation to implement 'stwu', and reroute
the trampoline frame to r1 to complete this exception migration.
Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions