Browse Source

[PATCH] sun4c_memerr_reg __iomem annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 19 years ago
parent
commit
a32972965e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/sparc/mm/sun4c.c
  2. 1 1
      include/asm-sparc/memreg.h

+ 1 - 1
arch/sparc/mm/sun4c.c

@@ -497,7 +497,7 @@ static void __init sun4c_probe_mmu(void)
 	patch_kernel_fault_handler();
 	patch_kernel_fault_handler();
 }
 }
 
 
-volatile unsigned long *sun4c_memerr_reg = NULL;
+volatile unsigned long __iomem *sun4c_memerr_reg = NULL;
 
 
 void __init sun4c_probe_memerr_reg(void)
 void __init sun4c_probe_memerr_reg(void)
 {
 {

+ 1 - 1
include/asm-sparc/memreg.h

@@ -36,7 +36,7 @@
 
 
 /* Memory parity error register with associated bit constants. */
 /* Memory parity error register with associated bit constants. */
 #ifndef __ASSEMBLY__
 #ifndef __ASSEMBLY__
-extern __volatile__ unsigned long *sun4c_memerr_reg;
+extern __volatile__ unsigned long __iomem *sun4c_memerr_reg;
 #endif
 #endif
 
 
 #define	SUN4C_MPE_ERROR	0x80	/* Parity error detected. (ro) */
 #define	SUN4C_MPE_ERROR	0x80	/* Parity error detected. (ro) */