aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2012-04-18 12:23:39 +0200
committerJonas Bonn <jonas@southpole.se>2012-05-08 11:43:59 +0200
commit207e715ff17b42e022df107210dc8c736a703eb3 (patch)
tree284b3b25fe53905286444ad0beacbba0663771f8 /tools/perf/util/scripting-engines/trace-event-python.c
parentopenrisc: provide dma_map_ops (diff)
downloadwireguard-linux-207e715ff17b42e022df107210dc8c736a703eb3.tar.xz
wireguard-linux-207e715ff17b42e022df107210dc8c736a703eb3.zip
openrisc: use scratch regs in atomic syscall
The function sys_or1k_atomic was using call-saved registers without restoring their value before returning. This is a faux pas: either we need to restore their values or use scratch regs; the latter is less code so that's the route this patch takes. Thanks to David Hennerström for doing most of the heavy-lifting in tracking this one down. Reported-by: Davd Hennerström <david.hennerstrom@aacmicrotec.com> Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions