x86-64-build-fix.patch
PATCH 1/1 x86-64-build-fix.patch
Fix build errors on x86-64.
Signed-off-by Arun Sharma <[email protected]>
arch/x86/x86_64/mm.c renamed from xen/arch/x86/x86_64/mm.c +2 -0
@@ -22,6 +22,8 @@#include <xen/lib.h> #include <xen/init.h> #include <xen/mm.h> +#include <xen/sched.h> +#include <asm/current.h> #include <asm/page.h> #include <asm/flushtlb.h> #include <asm/fixmap.h>
===== include/asm-x86/x86_64/domain_page.h 1.1 vs edited =====
include/asm-x86/x86_64/domain_page.h renamed from xen/include/asm-x86/x86_64/domain_page.h +3 -0
@@ -7,6 +7,9 @@#ifndef __ASM_DOMAIN_PAGE_H__#define __ASM_DOMAIN_PAGE_H__ +#include <xen/config.h> +#include <xen/sched.h> +#define map_domain_mem (_pa) phys_to_virt(_pa)#define unmap_domain_mem (_va) ((void)(_va))
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click