[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Bugfix: Don't use function pointers to inline functions
Hi! There's code, which use inline functions on function pointers. This is IMO a bug. The issue has been found by gcc 4.1.1 on Gentoo Linux when compiling a x86_64 hypervisor with -O0. gcc link error messages are attached. The xen_shadow.diff patch fixes the issue. Further, I had to move vmx_update_host_cr3() from xen/include/asm-x86/hvm/vmx/vmx.h to xen/arch/x86/hvm/vmx/vmx.c or gcc complains in xen/arch/x86/hvm/vmx/io.c that "vmx_update_host_cr3() is defined but not used" otherwise. Please apply. Attachment:
link_error.txt Attachment:
xen_shadow.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |