From: Al Viro Date: Tue, 6 Dec 2005 10:56:39 +0000 (-0500) Subject: [PATCH] sun4c_memerr_reg __iomem annotations X-Git-Tag: v3.12-rc1~39001^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a32972965e23471f0762a1136f80990ebf72406a;p=kernel%2Fkernel-generic.git [PATCH] sun4c_memerr_reg __iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c index 1d56039..731f196 100644 --- a/arch/sparc/mm/sun4c.c +++ b/arch/sparc/mm/sun4c.c @@ -497,7 +497,7 @@ static void __init sun4c_probe_mmu(void) 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) { diff --git a/include/asm-sparc/memreg.h b/include/asm-sparc/memreg.h index c0498d3..5fb95c8 100644 --- a/include/asm-sparc/memreg.h +++ b/include/asm-sparc/memreg.h @@ -36,7 +36,7 @@ /* Memory parity error register with associated bit constants. */ #ifndef __ASSEMBLY__ -extern __volatile__ unsigned long *sun4c_memerr_reg; +extern __volatile__ unsigned long __iomem *sun4c_memerr_reg; #endif #define SUN4C_MPE_ERROR 0x80 /* Parity error detected. (ro) */