aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/cputopo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/cputopo.h')
-rw-r--r--tools/perf/util/cputopo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/cputopo.h b/tools/perf/util/cputopo.h
index 7bf6b811f715..6201c3790d86 100644
--- a/tools/perf/util/cputopo.h
+++ b/tools/perf/util/cputopo.h
@@ -22,7 +22,7 @@ struct numa_topology_node {
struct numa_topology {
u32 nr;
- struct numa_topology_node nodes[0];
+ struct numa_topology_node nodes[];
};
struct cpu_topology *cpu_topology__new(void);