From: Anton Blanchard Date: Tue, 26 Jun 2012 01:01:36 +0000 (+0000) Subject: powerpc/perf: Move code to select SIAR or pt_regs into perf_read_regs X-Git-Tag: v3.6-rc1~132^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75382aa72f06823db7312ad069c3bae2eb3f8548;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed