ia64/xen-unstable

changeset 15598:5055b8462455

Remove hard tabs.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Jul 13 17:08:05 2007 +0100 (2007-07-13)
parents f479595a3c5c
children a17f20a0fd19
files xen/arch/x86/mm.c xen/common/grant_table.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Fri Jul 13 15:42:27 2007 +0100
     1.2 +++ b/xen/arch/x86/mm.c	Fri Jul 13 17:08:05 2007 +0100
     1.3 @@ -2701,15 +2701,15 @@ int replace_grant_host_mapping(
     1.4      
     1.5      if ( flags & GNTMAP_contains_pte )
     1.6      {
     1.7 -	if (!new_addr)
     1.8 -	    return destroy_grant_pte_mapping(addr, frame, current->domain);
     1.9 -
    1.10 -	MEM_LOG("Unsupported grant table operation");
    1.11 -	return GNTST_general_error;
    1.12 +        if ( !new_addr )
    1.13 +            return destroy_grant_pte_mapping(addr, frame, current->domain);
    1.14 +        
    1.15 +        MEM_LOG("Unsupported grant table operation");
    1.16 +        return GNTST_general_error;
    1.17      }
    1.18  
    1.19 -    if (!new_addr)
    1.20 -	return destroy_grant_va_mapping(addr, frame, current);
    1.21 +    if ( !new_addr )
    1.22 +        return destroy_grant_va_mapping(addr, frame, current);
    1.23  
    1.24      pl1e = guest_map_l1e(current, new_addr, &gl1mfn);
    1.25      if ( !pl1e )
    1.26 @@ -2720,7 +2720,8 @@ int replace_grant_host_mapping(
    1.27      }
    1.28      ol1e = *pl1e;
    1.29  
    1.30 -    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), gl1mfn, current)) )
    1.31 +    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(),
    1.32 +                                gl1mfn, current)) )
    1.33      {
    1.34          MEM_LOG("Cannot delete PTE entry at %p", (unsigned long *)pl1e);
    1.35          guest_unmap_l1e(current, pl1e);
     2.1 --- a/xen/common/grant_table.c	Fri Jul 13 15:42:27 2007 +0100
     2.2 +++ b/xen/common/grant_table.c	Fri Jul 13 17:08:05 2007 +0100
     2.3 @@ -533,9 +533,9 @@ static void
     2.4      struct gnttab_unmap_grant_ref *op)
     2.5  {
     2.6      struct gnttab_unmap_common common = {
     2.7 -	.host_addr = op->host_addr,
     2.8 -	.dev_bus_addr = op->dev_bus_addr,
     2.9 -	.handle = op->handle,
    2.10 +        .host_addr = op->host_addr,
    2.11 +        .dev_bus_addr = op->dev_bus_addr,
    2.12 +        .handle = op->handle,
    2.13      };
    2.14  
    2.15      __gnttab_unmap_common(&common);
    2.16 @@ -571,9 +571,9 @@ static void
    2.17      struct gnttab_unmap_and_replace *op)
    2.18  {
    2.19      struct gnttab_unmap_common common = {
    2.20 -	.host_addr = op->host_addr,
    2.21 -	.new_addr = op->new_addr,
    2.22 -	.handle = op->handle,
    2.23 +        .host_addr = op->host_addr,
    2.24 +        .new_addr = op->new_addr,
    2.25 +        .handle = op->handle,
    2.26      };
    2.27  
    2.28      __gnttab_unmap_common(&common);