Re: [PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-19 Thread Greentime Hu
2017-12-19 17:54 GMT+08:00 Arnd Bergmann : > On Tue, Dec 19, 2017 at 6:34 AM, Greentime Hu wrote: >> Hi, Arnd: >> >> 2017-12-18 19:13 GMT+08:00 Arnd Bergmann : >>> On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: From: Greentime Hu This patch introduces some miscellaneous head

Re: [PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-19 Thread Arnd Bergmann
On Tue, Dec 19, 2017 at 6:34 AM, Greentime Hu wrote: > Hi, Arnd: > > 2017-12-18 19:13 GMT+08:00 Arnd Bergmann : >> On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: >>> From: Greentime Hu >>> >>> This patch introduces some miscellaneous header files. >> >>> +static inline void __delay(unsigne

Re: [PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-18 Thread Greentime Hu
Hi, Arnd: 2017-12-18 19:13 GMT+08:00 Arnd Bergmann : > On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch introduces some miscellaneous header files. > >> +static inline void __delay(unsigned long loops) >> +{ >> + __asm__ __volatile__(".align 2\n"

Re: [PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-18 Thread Arnd Bergmann
On Mon, Dec 18, 2017 at 7:46 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch introduces some miscellaneous header files. > +static inline void __delay(unsigned long loops) > +{ > + __asm__ __volatile__(".align 2\n" > +"1:\n" > +

[PATCH v4 25/36] nds32: Miscellaneous header files

2017-12-17 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 38 +++ arch/nds32/include/asm/linkage.h| 11 + arch/nds32/include/ua