[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] compile fixes for xen with gcc-4.7 on Fedora 17
On 15/01/2012 20:53, "M A Young" <m.a.young@xxxxxxxxxxxx> wrote: > I needed the xen-4.1 equivalent of the attached patch to get xen to > compile on Fedora 17 with gcc-4.7. It seems that gcc-4.7 doesn't like it > when you mix definitions of a function as > void function(void); > and > asmlinkage void function(void); > in .c and .h files. The patch (for 4.2) fixes three cases where they are > inconsistent. I wonder why we're bothering with asmlinkage at all. It's defined to nothin on x86-64, and regparm((0)) is actually the default for i386 anyway. I think we can just kill off asmlinkage, so I'll do that instead. -- Keir > Michael Young > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |