From: "KUWAMURA Shin'ya" Subject: [PATCH] ioemu: pass-through: XC_PAGE_SIZE should be used Date: Wed, 09 Jul 2008 11:15:08 +0900 (JST) Message-ID: <20080709.111508.85455316.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Jul__9_11_15_08_2008_384)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Wed_Jul__9_11_15_08_2008_384)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, On ia64, the changeset 17961:9cf72db44ee9 cause a compilation error, `PAGE_SIZE' undeclared. XC_PAGE_SIZE is correct. Best regards, -- KUWAMURA Shin'ya ----Next_Part(Wed_Jul__9_11_15_08_2008_384)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-pass-through.patch" # HG changeset patch # User KUWAMURA Shin'ya # Date 1215569158 -32400 # Node ID b639984891977816451a7fe162f8dd18be2acf17 # Parent bd97e45e073aa57fa5d472e125b60b628f78517f ioemu: pass-through: XC_PAGE_SIZE should be used Signed-off-by: KUWAMURA Shin'ya diff -r bd97e45e073a -r b63998489197 tools/ioemu/hw/pass-through.h --- a/tools/ioemu/hw/pass-through.h Tue Jul 08 09:28:50 2008 +0100 +++ b/tools/ioemu/hw/pass-through.h Wed Jul 09 11:05:58 2008 +0900 @@ -73,7 +73,7 @@ enum { #define PT_GET_EMUL_SIZE(flag, r_size) do { \ if (flag == PT_BAR_FLAG_MEM) {\ - r_size = (((r_size) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)); \ + r_size = (((r_size) + XC_PAGE_SIZE - 1) & ~(XC_PAGE_SIZE - 1)); \ }\ } while(0) ----Next_Part(Wed_Jul__9_11_15_08_2008_384)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Wed_Jul__9_11_15_08_2008_384)----