From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 09/15] xen: arm: stub page_is_ram_type. Date: Tue, 4 Dec 2012 11:56:33 +0000 Message-ID: <1354622199-27504-9-git-send-email-ian.campbell@citrix.com> References: <1354622173.2693.72.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1354622173.2693.72.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org Callers are VT-d (so x86 specific) and various bits of page offlining support, which although it looks generic (and is in xen/common) does things like diving into page_info->count_info which is not generic. In any case on this is only reachable via XEN_SYSCTL_page_offline_op, which clearly shouldn't be called on ARM just yet. Signed-off-by: Ian Campbell --- xen/arch/arm/dummy.S | 3 --- xen/arch/arm/mm.c | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/dummy.S b/xen/arch/arm/dummy.S index f5b0db7..7e6f171 100644 --- a/xen/arch/arm/dummy.S +++ b/xen/arch/arm/dummy.S @@ -5,9 +5,6 @@ x: .word 0xe7f000f0 /* Undefined instruction */ #define NOP(x) \ .globl x; \ x: mov pc, lr - -/* Page Offlining */ -DUMMY(page_is_ram_type); /* Other */ DUMMY(domain_get_maximum_gpfn); diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 687eb55..329b1d4 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -441,6 +441,12 @@ int steal_page( return -1; } +int page_is_ram_type(unsigned long mfn, unsigned long mem_type) +{ + ASSERT(0); + return 0; +} + void share_xen_page_with_guest(struct page_info *page, struct domain *d, int readonly) { -- 1.7.9.1