[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0101016eed56f28a-58c118b8-face-49c8-af09-0a55a0500d99-000000@us-west-2.amazonses.com>
Date: Tue, 10 Dec 2019 01:05:28 +0000
From: "Brian Cain" <bcain@...eaurora.org>
To: "'Nick Desaulniers'" <ndesaulniers@...gle.com>
Cc: <lee.jones@...aro.org>, <andriy.shevchenko@...ux.intel.com>,
<ztuowen@...il.com>, <mika.westerberg@...ux.intel.com>,
<mcgrof@...nel.org>, <gregkh@...uxfoundation.org>,
<alexios.zavras@...el.com>, <allison@...utok.net>,
<will@...nel.org>, <rfontana@...hat.com>, <tglx@...utronix.de>,
<peterz@...radead.org>, <boqun.feng@...il.com>, <mingo@...hat.com>,
<akpm@...ux-foundation.org>, <geert@...ux-m68k.org>,
<linux-hexagon@...r.kernel.org>,
<clang-built-linux@...glegroups.com>,
<linux-kernel@...r.kernel.org>,
"'Nathan Chancellor'" <natechancellor@...il.com>
Subject: RE: [PATCH 1/2] hexagon: define ioremap_uc
> -----Original Message-----
> From: linux-hexagon-owner@...r.kernel.org <linux-hexagon-
> owner@...r.kernel.org> On Behalf Of Nick Desaulniers
> Sent: Monday, December 9, 2019 4:30 PM
> To: bcain@...eaurora.org
> Cc: Nick Desaulniers <ndesaulniers@...gle.com>; lee.jones@...aro.org;
> andriy.shevchenko@...ux.intel.com; ztuowen@...il.com;
> mika.westerberg@...ux.intel.com; mcgrof@...nel.org;
> gregkh@...uxfoundation.org; alexios.zavras@...el.com;
> allison@...utok.net; will@...nel.org; rfontana@...hat.com;
> tglx@...utronix.de; peterz@...radead.org; boqun.feng@...il.com;
> mingo@...hat.com; akpm@...ux-foundation.org; geert@...ux-m68k.org;
> linux-hexagon@...r.kernel.org; clang-built-linux@...glegroups.com; linux-
> kernel@...r.kernel.org; Nathan Chancellor <natechancellor@...il.com>
> Subject: [PATCH 1/2] hexagon: define ioremap_uc
>
> Similar to
> commit 38e45d81d14e ("sparc64: implement ioremap_uc") define
> ioremap_uc for hexagon to avoid errors from -Wimplicit-function-definition.
>
> Fixes: e537654b7039 ("lib: devres: add a helper function for ioremap_uc")
> Link: https://github.com/ClangBuiltLinux/linux/issues/797
> Suggested-by: Nathan Chancellor <natechancellor@...il.com>
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
> ---
> arch/hexagon/include/asm/io.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/hexagon/include/asm/io.h
> b/arch/hexagon/include/asm/io.h index 539e3efcf39c..b0dbc3473172
> 100644
> --- a/arch/hexagon/include/asm/io.h
> +++ b/arch/hexagon/include/asm/io.h
> @@ -173,6 +173,7 @@ static inline void writel(u32 data, volatile void
> __iomem *addr)
>
> void __iomem *ioremap(unsigned long phys_addr, unsigned long size);
> #define ioremap_nocache ioremap
> +#define ioremap_uc(X, Y) ioremap((X), (Y))
>
>
> #define __raw_writel writel
> --
> 2.24.0.393.g34dc348eaf-goog
Acked-by: Brian Cain <bcain@...eaurora.org>
Powered by blists - more mailing lists