From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f193.google.com ([209.85.222.193]:39984 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728929AbeIFSil (ORCPT ); Thu, 6 Sep 2018 14:38:41 -0400 MIME-Version: 1.0 References: <0f6a6aa2e458df2c3734cf60a68e6f69f0eb1e68.1536138304.git.ren_guo@c-sky.com> In-Reply-To: <0f6a6aa2e458df2c3734cf60a68e6f69f0eb1e68.1536138304.git.ren_guo@c-sky.com> From: Arnd Bergmann Date: Thu, 6 Sep 2018 16:02:42 +0200 Message-ID: Subject: Re: [PATCH V3 09/26] csky: VDSO and rt_sigreturn Content-Type: text/plain; charset="UTF-8" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Guo Ren Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Thomas Petazzoni , wbx@uclibc-ng.org, Greentime Hu Message-ID: <20180906140242.DXimHUwXKvxlfd7V_yXXuUEnZ3tzR9Hgrbv1xC2cpsE@z> 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) panic("Cannot set signal return code, err: %x.", err); __NR_rt_sigreturn is 139 I think you need to update the comment, and probably check your gcc sources to ensure it still does the right thing. Arnd