2017-11-11 0:14 GMT+08:00 Arnd Bergmann :
> Could you move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt
> out of that #ifdef, or would that break other architectures?
>
It seems ok. I just tried arm64, x86 and nds32.
#endif /* CONFIG_MMU */
#ifndef ioremap_nocache
void __iomem *ioremap(phys_a
On Fri, Nov 10, 2017 at 5:07 PM, Greentime Hu wrote:
> 2017-11-09 15:04 GMT+08:00 Greentime Hu :
>> 2017-11-08 17:04 GMT+08:00 Arnd Bergmann :
>>> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>>>
+
+#define ioremap(cookie,size) __ioremap(cookie,size,0,1)
+#define i
2017-11-09 15:04 GMT+08:00 Greentime Hu :
> 2017-11-08 17:04 GMT+08:00 Arnd Bergmann :
>> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>>
>>> +
>>> +#define ioremap(cookie,size) __ioremap(cookie,size,0,1)
>>> +#define ioremap_nocache(cookie,size) __ioremap(cookie,size,0,1)
>>> +
2017-11-08 17:04 GMT+08:00 Arnd Bergmann :
> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
>
>> +
>> +#define ioremap(cookie,size) __ioremap(cookie,size,0,1)
>> +#define ioremap_nocache(cookie,size) __ioremap(cookie,size,0,1)
>> +#define iounmap(cookie)__i
On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote:
> +
> +#define ioremap(cookie,size) __ioremap(cookie,size,0,1)
> +#define ioremap_nocache(cookie,size) __ioremap(cookie,size,0,1)
> +#define iounmap(cookie)__iounmap(cookie)
> +#include
asm-generic/io.h now
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/io.h | 33 +
arch/nds32/mm/ioremap.c | 67 +++
2 files changed, 100 insertions(+)
create mode 100644 arch/nds32/include/asm
6 matches
Mail list logo