[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: arm: stub out steal_page.


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Thu, 20 Dec 2012 16:11:13 +0000
  • Delivery-date: Thu, 20 Dec 2012 16:11:21 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1355926583 0
# Node ID f32398f24969563375ec0db253ef4cbc92ccf346
# Parent  f6984864e580c4c7daf5db5951b19767bc979fc5
xen: arm: stub out steal_page.

Callers handle the failure gracefully, can be called by
GNTTABOP_transfer, XENMEM_exchange or tmem.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r f6984864e580 -r f32398f24969 xen/arch/arm/dummy.S
--- a/xen/arch/arm/dummy.S      Wed Dec 19 14:16:22 2012 +0000
+++ b/xen/arch/arm/dummy.S      Wed Dec 19 14:16:23 2012 +0000
@@ -9,9 +9,6 @@ x:      mov pc, lr
 /* PIRQ support */
 DUMMY(nr_irqs_gsi);
 
-/* Grant Tables */
-DUMMY(steal_page);
-
 /* Page Offlining */
 DUMMY(page_is_ram_type);
 
diff -r f6984864e580 -r f32398f24969 xen/arch/arm/mm.c
--- a/xen/arch/arm/mm.c Wed Dec 19 14:16:22 2012 +0000
+++ b/xen/arch/arm/mm.c Wed Dec 19 14:16:23 2012 +0000
@@ -435,6 +435,12 @@ int donate_page(struct domain *d, struct
     return -ENOSYS;
 }
 
+int steal_page(
+    struct domain *d, struct page_info *page, unsigned int memflags)
+{
+    return -1;
+}
+
 void share_xen_page_with_guest(struct page_info *page,
                           struct domain *d, int readonly)
 {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.