diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-10 18:07:13 (GMT) |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-10 18:07:13 (GMT) |
commit | e3944bfac961cd7fc82f3b3143c55dc375748569 (patch) | |
tree | 26a5cd89d950ce8900e2a36dd4ca3da0d7240641 /arch/x86/kernel/trampoline.c | |
parent | acd895795d35d7c6405f20301a846d16998795ec (diff) | |
download | linux-fsl-qoriq-e3944bfac961cd7fc82f3b3143c55dc375748569.tar.xz |
tracing, x86: fix fixup section to return to original code
Impact: fix to prevent a kernel crash on fault
If for some reason the pointer to the parent function on the
stack takes a fault, the fix up code will not return back to
the original faulting code. This can lead to unpredictable
results and perhaps even a kernel panic.
A fault should not happen, but if it does, we should simply
disable the tracer, warn, and continue running the kernel.
It should not lead to a kernel crash.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'arch/x86/kernel/trampoline.c')
0 files changed, 0 insertions, 0 deletions