WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] x86_32: sh_clear_up_pointer is only us

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86_32: sh_clear_up_pointer is only used if CONFIG_PAGING_LEVELS >= 4
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Oct 2010 05:55:28 -0700
Delivery-date: Sun, 17 Oct 2010 05:58:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86_32: sh_clear_up_pointer is only used if CONFIG_PAGING_LEVELS >= 4, Xen patchbot-4.0-testing <=