xen: arm: stub page_is_ram_type.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:23 +0000 (14:16 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:23 +0000 (14:16 +0000)
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 <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/dummy.S
xen/arch/arm/mm.c

index 41c9af86f81ad050c4f010ca3d5bc6100287414b..8303b0eee97eba542cddefc87222b156ddc641eb 100644 (file)
@@ -9,9 +9,6 @@ x:      mov pc, lr
 /* PIRQ support */
 DUMMY(nr_irqs_gsi);
 
-/* Page Offlining */
-DUMMY(page_is_ram_type);
-
 /* Other */
 DUMMY(domain_get_maximum_gpfn);
 DUMMY(domain_relinquish_resources);
index 687eb55ff7102be8a1c6b85a88cfebaff097cbac..329b1d43cc1ea947638c81292f3d5b2336ac66a0 100644 (file)
@@ -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)
 {