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-unstable] Remove hard tabs.

# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184342885 -3600
# Node ID 5055b8462455fae1d940d1fd823e411bf314f5c8
# Parent  f479595a3c5c8e8df6556ba5658d0d00d57da386
Remove hard tabs.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm.c        |   21 +++++++++++----------
 xen/common/grant_table.c |   12 ++++++------
 2 files changed, 17 insertions(+), 16 deletions(-)

diff -r f479595a3c5c -r 5055b8462455 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Fri Jul 13 15:42:27 2007 +0100
+++ b/xen/arch/x86/mm.c Fri Jul 13 17:08:05 2007 +0100
@@ -2701,15 +2701,15 @@ int replace_grant_host_mapping(
     
     if ( flags & GNTMAP_contains_pte )
     {
-       if (!new_addr)
-           return destroy_grant_pte_mapping(addr, frame, current->domain);
-
-       MEM_LOG("Unsupported grant table operation");
-       return GNTST_general_error;
-    }
-
-    if (!new_addr)
-       return destroy_grant_va_mapping(addr, frame, current);
+        if ( !new_addr )
+            return destroy_grant_pte_mapping(addr, frame, current->domain);
+        
+        MEM_LOG("Unsupported grant table operation");
+        return GNTST_general_error;
+    }
+
+    if ( !new_addr )
+        return destroy_grant_va_mapping(addr, frame, current);
 
     pl1e = guest_map_l1e(current, new_addr, &gl1mfn);
     if ( !pl1e )
@@ -2720,7 +2720,8 @@ int replace_grant_host_mapping(
     }
     ol1e = *pl1e;
 
-    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), gl1mfn, current)) 
)
+    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(),
+                                gl1mfn, current)) )
     {
         MEM_LOG("Cannot delete PTE entry at %p", (unsigned long *)pl1e);
         guest_unmap_l1e(current, pl1e);
diff -r f479595a3c5c -r 5055b8462455 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Fri Jul 13 15:42:27 2007 +0100
+++ b/xen/common/grant_table.c  Fri Jul 13 17:08:05 2007 +0100
@@ -533,9 +533,9 @@ __gnttab_unmap_grant_ref(
     struct gnttab_unmap_grant_ref *op)
 {
     struct gnttab_unmap_common common = {
-       .host_addr = op->host_addr,
-       .dev_bus_addr = op->dev_bus_addr,
-       .handle = op->handle,
+        .host_addr = op->host_addr,
+        .dev_bus_addr = op->dev_bus_addr,
+        .handle = op->handle,
     };
 
     __gnttab_unmap_common(&common);
@@ -571,9 +571,9 @@ __gnttab_unmap_and_replace(
     struct gnttab_unmap_and_replace *op)
 {
     struct gnttab_unmap_common common = {
-       .host_addr = op->host_addr,
-       .new_addr = op->new_addr,
-       .handle = op->handle,
+        .host_addr = op->host_addr,
+        .new_addr = op->new_addr,
+        .handle = op->handle,
     };
 
     __gnttab_unmap_common(&common);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove hard tabs., Xen patchbot-unstable <=