aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-13 07:48:45 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:46 -0400
commitec74e361f1e71a2498e48b62abdc4bd8d2423354 (patch)
treef442c9b3cf759743d97393288a31b9e481ad1df4 /arch/mips/mm
parentcc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 (diff)
Mark a few variables __read_mostly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/c-r4k.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 08d7229a0688..d3e352fb3243 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -16,6 +16,7 @@
16 16
17#include <asm/bcache.h> 17#include <asm/bcache.h>
18#include <asm/bootinfo.h> 18#include <asm/bootinfo.h>
19#include <asm/cache.h>
19#include <asm/cacheops.h> 20#include <asm/cacheops.h>
20#include <asm/cpu.h> 21#include <asm/cpu.h>
21#include <asm/cpu-features.h> 22#include <asm/cpu-features.h>
@@ -28,7 +29,12 @@
28#include <asm/war.h> 29#include <asm/war.h>
29#include <asm/cacheflush.h> /* for run_uncached() */ 30#include <asm/cacheflush.h> /* for run_uncached() */
30 31
31static unsigned long icache_size, dcache_size, scache_size; 32/*
33 * Must die.
34 */
35static unsigned long icache_size __read_mostly;
36static unsigned long dcache_size __read_mostly;
37static unsigned long scache_size __read_mostly;
32 38
33/* 39/*
34 * Dummy cache handling routines for machines without boardcaches 40 * Dummy cache handling routines for machines without boardcaches