Re: [PATCH 08/31] nds32: Cache and TLB routines

2017-11-08 Thread Greentime Hu
2017-11-08 16:45 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > >> +#ifndef __NDS32_PROCFNS_H__ >> +#define __NDS32_PROCFNS_H__ >> + >> +#define CPU_NAME n13 >> + >> +#ifdef __KERNEL__ >> + >> +#ifdef __STDC__ >> +#define cpu_fn(name,fn) name##fn >> +#e

Re: [PATCH 08/31] nds32: Cache and TLB routines

2017-11-08 Thread Arnd Bergmann
On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: > +#ifndef __NDS32_PROCFNS_H__ > +#define __NDS32_PROCFNS_H__ > + > +#define CPU_NAME n13 > + > +#ifdef __KERNEL__ > + > +#ifdef __STDC__ > +#define cpu_fn(name,fn) name##fn > +#else > +#define cpu_fn(name,fn) name/**/fn > +#

[PATCH 08/31] nds32: Cache and TLB routines

2017-11-07 Thread Greentime Hu
From: Greentime Hu Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/cache.h | 25 ++ arch/nds32/include/asm/cache_info.h| 26 ++ arch/nds32/include/asm/cacheflush.h| 57 +++ arch/nds32/include/asm/mmu_context.h | 81 + arch/nds32/