Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Arnaud Giersch and committed by
Ralf Baechle
59f145d2 84c493d8

+4 -4
+2 -2
arch/mips/sgi-ip32/crime.c
··· 19 19 #include <asm/ip32/crime.h> 20 20 #include <asm/ip32/mace.h> 21 21 22 - struct sgi_crime *crime; 23 - struct sgi_mace *mace; 22 + struct sgi_crime __iomem *crime; 23 + struct sgi_mace __iomem *mace; 24 24 25 25 EXPORT_SYMBOL_GPL(mace); 26 26
+1 -1
include/asm-mips/ip32/crime.h
··· 154 154 #define CRIME_MEM_ERROR_ECC_REPL_MASK 0xffffffff 155 155 }; 156 156 157 - extern struct sgi_crime *crime; 157 + extern struct sgi_crime __iomem *crime; 158 158 159 159 #define CRIME_HI_MEM_BASE 0x40000000 /* this is where whole 1G of RAM is mapped */ 160 160
+1 -1
include/asm-mips/ip32/mace.h
··· 363 363 char _pad6[0x80000 - sizeof(struct mace_isa)]; 364 364 }; 365 365 366 - extern struct sgi_mace *mace; 366 + extern struct sgi_mace __iomem *mace; 367 367 368 368 #endif /* __ASM_MACE_H__ */