summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/topology.c')
-rw-r--r--arch/parisc/kernel/topology.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/topology.c b/arch/parisc/kernel/topology.c
index ac2a40681414..3ba040050e4c 100644
--- a/arch/parisc/kernel/topology.c
+++ b/arch/parisc/kernel/topology.c
@@ -20,8 +20,9 @@
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/cpu.h>
+#include <linux/cache.h>
-static struct cpu cpu_devices[NR_CPUS];
+static struct cpu cpu_devices[NR_CPUS] __read_mostly;
static int __init topology_init(void)
{
OpenPOWER on IntegriCloud