VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Michael Petlan <mpetlan@redhat.com> 2022-03-17 14:55:36 +0100 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2022-03-23 09:18:50 +0100 commit: 2a55a52bd8f86cf3fd9c3f32ea78bbc8fb82f458 parent: 6be29c4b2312933dde4a357ae838434236019133
Commit Summary:
perf symbols: Fix symbol size calculation condition
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index b2ed3140a1fa..dfde9eada224 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -231,7 +231,7 @@ void symbols__fixup_end(struct rb_root_cached *symbols)
 		prev = curr;
 		curr = rb_entry(nd, struct symbol, rb_node);
 
-		if (prev->end == prev->start && prev->end != curr->start)
+		if (prev->end == prev->start || prev->end != curr->start)
 			arch__symbols__fixup_end(prev, curr);
 	}