aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/ip32
diff options
context:
space:
mode:
authorArnaud Giersch <arnaud.giersch@free.fr>2005-11-12 18:38:18 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-11-17 11:23:48 -0500
commit59f145d28ce853b13dafdfab438c48f3ead0b38e (patch)
treee758652a96e8d63ac2b413bcba4266743af09d78 /include/asm-mips/ip32
parent84c493d8e143360cfba3efede97e5a93d62c4d3d (diff)
[MIPS] IP32: Fix sparse warnings.
Add __iomem qualifier to crime and mace pointers. Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/ip32')
-rw-r--r--include/asm-mips/ip32/crime.h2
-rw-r--r--include/asm-mips/ip32/mace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/ip32/crime.h b/include/asm-mips/ip32/crime.h
index 152879bae20f..a13702fafa85 100644
--- a/include/asm-mips/ip32/crime.h
+++ b/include/asm-mips/ip32/crime.h
@@ -154,7 +154,7 @@ struct sgi_crime {
154#define CRIME_MEM_ERROR_ECC_REPL_MASK 0xffffffff 154#define CRIME_MEM_ERROR_ECC_REPL_MASK 0xffffffff
155}; 155};
156 156
157extern struct sgi_crime *crime; 157extern struct sgi_crime __iomem *crime;
158 158
159#define CRIME_HI_MEM_BASE 0x40000000 /* this is where whole 1G of RAM is mapped */ 159#define CRIME_HI_MEM_BASE 0x40000000 /* this is where whole 1G of RAM is mapped */
160 160
diff --git a/include/asm-mips/ip32/mace.h b/include/asm-mips/ip32/mace.h
index e514efe44c06..990082c81f39 100644
--- a/include/asm-mips/ip32/mace.h
+++ b/include/asm-mips/ip32/mace.h
@@ -363,6 +363,6 @@ struct sgi_mace {
363 char _pad6[0x80000 - sizeof(struct mace_isa)]; 363 char _pad6[0x80000 - sizeof(struct mace_isa)];
364}; 364};
365 365
366extern struct sgi_mace *mace; 366extern struct sgi_mace __iomem *mace;
367 367
368#endif /* __ASM_MACE_H__ */ 368#endif /* __ASM_MACE_H__ */