mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xen: arm: stub page_is_ram_type.
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>
This commit is contained in:
1 parent
bf7106ef98
commit
214c4cd94a
2 files changed
+6
-3
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||