diff options
author | Anton Blanchard <anton@samba.org> | 2012-06-26 03:01:36 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-07-10 11:18:41 +0200 |
commit | 75382aa72f06823db7312ad069c3bae2eb3f8548 (patch) | |
tree | d345dbb162b14375d20a622a0801fd9a93cf1c1c /lib/decompress.c | |
parent | powerpc/perf: Create mmcra_sihv/mmcra_sipv helpers (diff) | |
download | linux-75382aa72f06823db7312ad069c3bae2eb3f8548.tar.xz linux-75382aa72f06823db7312ad069c3bae2eb3f8548.zip |
powerpc/perf: Move code to select SIAR or pt_regs into perf_read_regs
The logic to choose whether to use the SIAR or get the information
out of pt_regs is going to get more complicated, so do it once in
perf_read_regs.
We overload regs->result which is gross but we are already doing it
with regs->dsisr.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions