From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Fri, 14 Jan 2011 07:08:16 +0000 Subject: Re: [PATCH] mmc, sh: Move MMCIF_PROGRESS_* into sh_mmcif.h Message-Id: <20110114070815.GB2122@linux-sh.org> List-Id: References: <20110110230549.GA20886@verge.net.au> In-Reply-To: <20110110230549.GA20886@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Fri, Jan 14, 2011 at 04:06:55PM +0900, Magnus Damm wrote: > On Fri, Jan 14, 2011 at 10:29 AM, Simon Horman wrote: > > Drat. There seems to be a new problem. > > I'm pretty sure it wasn't there when I checked against > > Linus's tree a few days ago. But in any case it is there now. > > > > arch/arm/boot/compressed/mmcif-sh7372.o: In function `mmcif_loader': > > mmcif-sh7372.c:(.text+0x9e8): undefined reference to `outer_cache > > > > As per > > http://www.arm.linux.org.uk/developer/patches/viewpatch.php?idb75/1, > > my suggested fix is: > > > > diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h > > index bf17350..1a6eb3f 100644 > > --- a/include/linux/mmc/sh_mmcif.h > > +++ b/include/linux/mmc/sh_mmcif.h > > @@ -99,7 +99,7 @@ static inline u32 sh_mmcif_readl(void __iomem *addr, int reg) > > > > ?static inline void sh_mmcif_writel(void __iomem *addr, int reg, u32 val) > > ?{ > > - ? ? ? writel(val, addr + reg); > > + ? ? ? __raw_writel(val, addr + reg); > > ?} > > You probably want to update sh_mmcif_read() as well for code consistency! > I've already taken care of it.