aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/s390/annotate/instructions.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/s390/annotate/instructions.c')
-rw-r--r--tools/perf/arch/s390/annotate/instructions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/arch/s390/annotate/instructions.c b/tools/perf/arch/s390/annotate/instructions.c
index e0e466c650df..8c72b44444cb 100644
--- a/tools/perf/arch/s390/annotate/instructions.c
+++ b/tools/perf/arch/s390/annotate/instructions.c
@@ -18,7 +18,8 @@ static struct ins_ops *s390__associate_ins_ops(struct arch *arch, const char *na
18 if (!strcmp(name, "br")) 18 if (!strcmp(name, "br"))
19 ops = &ret_ops; 19 ops = &ret_ops;
20 20
21 arch__associate_ins_ops(arch, name, ops); 21 if (ops)
22 arch__associate_ins_ops(arch, name, ops);
22 return ops; 23 return ops;
23} 24}
24 25