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

[Xen-changelog] [xen-4.0-testing] x86_32: sh_clear_up_pointer is only used if CONFIG_PAGING_LEVELS >= 4



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1286193183 -3600
# Node ID c32e9163328dcbe95cd0ab475c0f50bca7ca1c70
# Parent  7c68264f359d419361d8df0b735b109d72e7b622
x86_32: sh_clear_up_pointer is only used if CONFIG_PAGING_LEVELS >= 4

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
xen-unstable changeset:   22225:fe3018c6976d
xen-unstable date:        Mon Oct 04 12:52:14 2010 +0100
---
 xen/arch/x86/mm/shadow/common.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 7c68264f359d -r c32e9163328d xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Sat Oct 02 15:13:01 2010 +0100
+++ b/xen/arch/x86/mm/shadow/common.c   Mon Oct 04 12:53:03 2010 +0100
@@ -2871,6 +2871,7 @@ sh_remove_all_shadows_and_parents(struct
 
 /**************************************************************************/
 
+#if CONFIG_PAGING_LEVELS >= 4
 /* Reset the up-pointers of every L3 shadow to 0. 
  * This is called when l3 shadows stop being pinnable, to clear out all
  * the list-head bits so the up-pointer field is properly inititalised. */
@@ -2879,6 +2880,7 @@ static int sh_clear_up_pointer(struct vc
     mfn_to_page(smfn)->up = 0;
     return 0;
 }
+#endif
 
 void sh_reset_l3_up_pointers(struct vcpu *v)
 {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.