From: Guenter Roeck <linux@roeck-us.net>
To: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>,
linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org,
"Luis R. Rodriguez" <mcgrof@suse.com>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: Re: [PATCH -next] parisc: Define ioremap_uc and ioremap_wc
Date: Sat, 22 Aug 2015 12:35:50 -0700 [thread overview]
Message-ID: <20150822193549.GA27623@roeck-us.net> (raw)
In-Reply-To: <1438396486-20937-1-git-send-email-linux@roeck-us.net>
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/
>
>
prev parent reply other threads:[~2015-08-22 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-01 2:34 [PATCH -next] parisc: Define ioremap_uc and ioremap_wc Guenter Roeck
2015-08-22 19:35 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150822193549.GA27623@roeck-us.net \
--to=linux@roeck-us.net \
--cc=deller@gmx.de \
--cc=jejb@parisc-linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=mcgrof@suse.com \
--cc=paul.gortmaker@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox