Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-02 Thread Tobias Klauser
On 2018-03-01 at 17:39:43 +0100, Greentime Hu wrote: > A commit for the nds32 architecture bootstrap("asm-generic/io.h: > move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef > CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. > This means

Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-02 Thread Tobias Klauser
On 2018-03-01 at 17:39:43 +0100, Greentime Hu wrote: > A commit for the nds32 architecture bootstrap("asm-generic/io.h: > move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef > CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. > This means that in order to

[PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-01 Thread Greentime Hu
A commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to setup #define's before

[PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-01 Thread Greentime Hu
A commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to setup #define's before