All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] parisc: Define ioremap_uc and ioremap_wc
@ 2015-08-01  2:34 Guenter Roeck
  2015-08-22 19:35 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-08-01  2:34 UTC (permalink / raw)
  To: James E.J. Bottomley
  Cc: Helge Deller, linux-parisc, linux-kernel, Guenter Roeck,
	Luis R. Rodriguez, Paul Gortmaker

Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole
with strong UC") introduces calls to ioremap_wc and ioremap_uc. This
causes build failures with parisc:allmodconfig. Map the missing
functions to ioremap_nocache.

Fixes: 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
	Replace MTRR UC hole with strong UC")
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/parisc/include/asm/io.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h
index 8cd0abf28ffb..1a16f1d1075f 100644
--- a/arch/parisc/include/asm/io.h
+++ b/arch/parisc/include/asm/io.h
@@ -137,6 +137,8 @@ static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
 	return __ioremap(offset, size, _PAGE_NO_CACHE);
 }
 #define ioremap_nocache(off, sz)	ioremap((off), (sz))
+#define ioremap_wc			ioremap_nocache
+#define ioremap_uc			ioremap_nocache
 
 extern void iounmap(const volatile void __iomem *addr);
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] parisc: Define ioremap_uc and ioremap_wc
  2015-08-01  2:34 [PATCH -next] parisc: Define ioremap_uc and ioremap_wc Guenter Roeck
@ 2015-08-22 19:35 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2015-08-22 19:35 UTC (permalink / raw)
  To: James E.J. Bottomley
  Cc: Helge Deller, linux-parisc, linux-kernel, Luis R. Rodriguez,
	Paul Gortmaker

ping ... the problem fixed with this patch still affects next-20150821.

Guenter

On Fri, Jul 31, 2015 at 07:34:46PM -0700, Guenter Roeck wrote:
> Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole
> with strong UC") introduces calls to ioremap_wc and ioremap_uc. This
> causes build failures with parisc:allmodconfig. Map the missing
> functions to ioremap_nocache.
> 
> Fixes: 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
> 	Replace MTRR UC hole with strong UC")
> Cc: Luis R. Rodriguez <mcgrof@suse.com>
> Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  arch/parisc/include/asm/io.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h
> index 8cd0abf28ffb..1a16f1d1075f 100644
> --- a/arch/parisc/include/asm/io.h
> +++ b/arch/parisc/include/asm/io.h
> @@ -137,6 +137,8 @@ static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
>  	return __ioremap(offset, size, _PAGE_NO_CACHE);
>  }
>  #define ioremap_nocache(off, sz)	ioremap((off), (sz))
> +#define ioremap_wc			ioremap_nocache
> +#define ioremap_uc			ioremap_nocache
>  
>  extern void iounmap(const volatile void __iomem *addr);
>  
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-22 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-01  2:34 [PATCH -next] parisc: Define ioremap_uc and ioremap_wc Guenter Roeck
2015-08-22 19:35 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.