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

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



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

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/common.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r a4016a257672 -r fe3018c6976d xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Sat Oct 02 15:05:50 2010 +0100
+++ b/xen/arch/x86/mm/shadow/common.c   Mon Oct 04 12:52:14 2010 +0100
@@ -2776,6 +2776,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. */
@@ -2784,6 +2785,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®.