diff options
author | 2011-01-01 18:36:36 +0000 | |
---|---|---|
committer | 2011-01-05 16:58:19 +0900 | |
commit | eac676e531214f1e276645613acae7d7c4529035 (patch) | |
tree | ce1272ecf43494d7bf796b1083c98f5696d7af05 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | sh: Tidy up SH-4A unaligned load support. (diff) | |
download | wireguard-linux-eac676e531214f1e276645613acae7d7c4529035.tar.xz wireguard-linux-eac676e531214f1e276645613acae7d7c4529035.zip |
sh: correct definitions to access stack pointers
A definition like:
#define regs_return_value(regs) ((regs)->regs[0])
called with regs_return_value(foo) will be preprocessed to:
((foo)->foo[0])
^^^
So to fix this to ensure the preprocessor compiles such calls correctly.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions