Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-06 Thread Guo Ren
On Thu, Sep 06, 2018 at 04:02:42PM +0200, Arnd Bergmann wrote: > On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > > > + > > + /* > > +* __NR_rt_sigreturn must be 173 > > +* Because gcc/config/csky/linux-unwind.h use hard code to parse > > rt_sigframe. > > +*/ > > +

Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-06 Thread Guo Ren
On Thu, Sep 06, 2018 at 04:02:42PM +0200, Arnd Bergmann wrote: > On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > > > + > > + /* > > +* __NR_rt_sigreturn must be 173 > > +* Because gcc/config/csky/linux-unwind.h use hard code to parse > > rt_sigframe. > > +*/ > > +

Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-06 Thread Arnd Bergmann
On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > + > + /* > +* __NR_rt_sigreturn must be 173 > +* Because gcc/config/csky/linux-unwind.h use hard code to parse > rt_sigframe. > +*/ > + err = setup_vdso_page(vdso->rt_signal_retcode); > + if (err)

Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-06 Thread Arnd Bergmann
On Wed, Sep 5, 2018 at 2:08 PM Guo Ren wrote: > + > + /* > +* __NR_rt_sigreturn must be 173 > +* Because gcc/config/csky/linux-unwind.h use hard code to parse > rt_sigframe. > +*/ > + err = setup_vdso_page(vdso->rt_signal_retcode); > + if (err)

[PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-05 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/vdso.h | 17 arch/csky/abiv2/inc/abi/vdso.h | 24 arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c| 88 ++ 4 files changed, 141 insertions(+) create mode

[PATCH V3 09/26] csky: VDSO and rt_sigreturn

2018-09-05 Thread Guo Ren
Signed-off-by: Guo Ren --- arch/csky/abiv1/inc/abi/vdso.h | 17 arch/csky/abiv2/inc/abi/vdso.h | 24 arch/csky/include/asm/vdso.h | 12 ++ arch/csky/kernel/vdso.c| 88 ++ 4 files changed, 141 insertions(+) create mode