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] Fix typo.

# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID 4268d0ecdde7ed9f47604e66906f9baf79d48f0f
# Parent  8a00d9af329136d93937e10f5d207e4cb1a77364
Fix typo. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r 8a00d9af3291 -r 4268d0ecdde7 xen/arch/x86/shadow32.c
--- a/xen/arch/x86/shadow32.c   Tue Nov 29 15:01:47 2005
+++ b/xen/arch/x86/shadow32.c   Tue Nov 29 15:03:06 2005
@@ -1032,6 +1032,7 @@
     if ( shadow_mode_refcounts(d) )
     {
         struct list_head *list_ent; 
+        struct pfn_info *page;
 
         /*
          * Tear down its counts by disassembling its page-table-based refcounts
@@ -1059,8 +1060,8 @@
         for (list_ent = d->page_list.next; list_ent != &d->page_list; 
              list_ent = page->list.next) {
             
-            struct pfn_info *page = list_entry(list_ent, 
-                                               struct pfn_info, list);
+            page = list_entry(list_ent, struct pfn_info, list);
+
             if ( !get_page_type(page, PGT_writable_page) )
                 BUG();
             put_page_type(page);
diff -r 8a00d9af3291 -r 4268d0ecdde7 xen/arch/x86/shadow_public.c
--- a/xen/arch/x86/shadow_public.c      Tue Nov 29 15:01:47 2005
+++ b/xen/arch/x86/shadow_public.c      Tue Nov 29 15:03:06 2005
@@ -1082,6 +1082,7 @@
     if ( shadow_mode_refcounts(d) )
     {
         struct list_head *list_ent; 
+        struct pfn_info *page;
 
         /*
          * Tear down its counts by disassembling its page-table-based refcounts
@@ -1109,8 +1110,7 @@
         for (list_ent = d->page_list.next; list_ent != &d->page_list; 
              list_ent = page->list.next) {
             
-            struct pfn_info *page = list_entry(list_ent, 
-                                               struct pfn_info, list);
+            page = list_entry(list_ent, struct pfn_info, list);
             if ( !get_page_type(page, PGT_writable_page) )
                 BUG();
             put_page_type(page);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix typo., Xen patchbot -unstable <=