From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Fix asmlinkage functions Date: Wed, 20 Jun 2012 09:43:28 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young , Bastian Blank Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 20/06/2012 09:28, "M A Young" wrote: > On Tue, 19 Jun 2012, Bastian Blank wrote: > >> According to gcc-4.7, "void bla(void)" is incompatible with "asmlinkage >> void bla(void)". As asmlinkage expands to __attribute__((regparm(0))), >> it is correct. >> >> The patch adds the missing asmlinkage to function declarations affected. >> It is needed for 4.1 and 4.2. >> >> Signed-off-by: Bastian Blank > > This is only relevant for 4.1 . In 4.2 asmlinkage got flattened to a no-op > in changeset 24511 > http://xenbits.xen.org/hg/staging/xen-unstable.hg/rev/a141f6d64916 . It > would be a good idea to get this problem fixed for 4.1.3 but backporting > the change from 4.2 might be a better idea. Done, and for forthcoming 4.0.4-rc3 too. > Michael Young > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel