aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2013-10-01 17:11:35 +1000
committerBenjamin Herrenschmidt <[email protected]>2013-10-03 17:22:42 +1000
commit8f21bd0090052e740944f9397e2be5ac7957ded7 (patch)
treeaa921309910569b6432d977c88af5c561417c100 /tools/perf/util/trace-event-scripting.c
parentd9813c3681a36774b254c0cdc9cce53c9e22c756 (diff)
powerpc: Restore registers on error exit from csum_partial_copy_generic()
The csum_partial_copy_generic() function saves the PowerPC non-volatile r14, r15, and r16 registers for the main checksum-and-copy loop. Unfortunately, it fails to restore them upon error exit from this loop, which results in silent corruption of these registers in the presumably rare event of an access exception within that loop. This commit therefore restores these register on error exit from the loop. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Anton Blanchard <[email protected]> Cc: [email protected] Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions