summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/cpumap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/cpumap.c')
-rw-r--r--arch/sparc/kernel/cpumap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c
index f07ea88a83..8fcf2d8c6b 100644
--- a/arch/sparc/kernel/cpumap.c
+++ b/arch/sparc/kernel/cpumap.c
@@ -50,7 +50,7 @@ struct cpuinfo_tree {
/* Offsets into nodes[] for each level of the tree */
struct cpuinfo_level level[CPUINFO_LVL_MAX];
- struct cpuinfo_node nodes[];
+ struct cpuinfo_node nodes[] __counted_by(total_nodes);
};