diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-07-13 11:48:45 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:31:46 +0100 |
commit | ec74e361f1e71a2498e48b62abdc4bd8d2423354 (patch) | |
tree | f442c9b3cf759743d97393288a31b9e481ad1df4 /arch/mips/mm/c-r4k.c | |
parent | cc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 (diff) | |
download | blackbird-op-linux-ec74e361f1e71a2498e48b62abdc4bd8d2423354.tar.gz blackbird-op-linux-ec74e361f1e71a2498e48b62abdc4bd8d2423354.zip |
Mark a few variables __read_mostly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 8 |
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 @@ #include <asm/bcache.h> #include <asm/bootinfo.h> +#include <asm/cache.h> #include <asm/cacheops.h> #include <asm/cpu.h> #include <asm/cpu-features.h> @@ -28,7 +29,12 @@ #include <asm/war.h> #include <asm/cacheflush.h> /* for run_uncached() */ -static unsigned long icache_size, dcache_size, scache_size; +/* + * Must die. + */ +static unsigned long icache_size __read_mostly; +static unsigned long dcache_size __read_mostly; +static unsigned long scache_size __read_mostly; /* * Dummy cache handling routines for machines without boardcaches |