[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix asmlinkage functions



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 <waldi@xxxxxxxxxx>

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.

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.