Ling, Xiaofeng
2005-Jul-28 13:13 UTC
[Xen-devel] [PATCH] fix x86_64 domain0 /dev/mem issue
fix x86_64 domain0 /dev/mem issue x86_64 miss the define of ARCH_HAS_DEV_MEM, that cause /drivers/char/mem.c do not show low 1M memory correctly. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> diff -r fb5de385a9ee linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h Wed Jul 27 23:15:15 2005 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h Thu Jul 28 18:01:44 2005 @@ -369,4 +369,6 @@ #endif /* __KERNEL__ */ -#endif +#define ARCH_HAS_DEV_MEM + +#endif ------------------- Ling Xiaofeng(Daniel) Open Source Technology Center Intel China Software Center iNet: 8-752-1243 8621-52574545-1243(O) xfling@users.sourceforge.net _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel