diff options
| author | Steven Rostedt <[email protected]> | 2009-09-15 15:30:14 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2009-10-13 21:20:56 +0000 |
| commit | be10ab109099f8bd8dd365677a9fe641584c1b5b (patch) | |
| tree | 2b1b9cf8444fea85b5a252704b3da90bf1e536fb /fs/proc/array.c | |
| parent | powerpc/ftrace: show real return addresses in modules (diff) | |
| download | kernel-be10ab109099f8bd8dd365677a9fe641584c1b5b.tar.gz kernel-be10ab109099f8bd8dd365677a9fe641584c1b5b.zip | |
powerpc64/ftrace: use PACA to retrieve TOC in mod_return_to_handler
The mod_return_to_handler needs to switch to the kernel TOC before
jumping to a the kernel code. It currently does this by looking
at the kernel function data and retrieves the TOC that way.
Not only is this inefficient, it also breaks with a relocatable kernel.
The PACA contains the kernel TOC and we can easily retrieve it that
way.
Reported-by: Sachin Sant <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
