Re: [PATCH 1/9] Remove unused and unnecessary PHYS32 macro

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

 



On Wed, Apr 20, 2016 at 03:18:47PM +0200, Alexander Gordeev wrote:
> Cc: Andrew Jones <drjones@xxxxxxxxxx>
> Cc: Thomas Huth <thuth@xxxxxxxxxx>
> Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx>
> Suggested-by: Andrew Jones <drjones@xxxxxxxxxx>
> Signed-off-by: Alexander Gordeev <agordeev@xxxxxxxxxx>

Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>

> ---
>  lib/alloc.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/lib/alloc.h b/lib/alloc.h
> index 7a73c18..0b4b4bd 100644
> --- a/lib/alloc.h
> +++ b/lib/alloc.h
> @@ -58,11 +58,7 @@ static inline void *memalign(size_t alignment, size_t size)
>  	return alloc_ops->memalign(alignment, size);
>  }
>  
> -#ifdef PHYS32
> -typedef u32 phys_addr_t;
> -#else
>  typedef u64 phys_addr_t;
> -#endif
>  #define INVALID_PHYS_ADDR (~(phys_addr_t)0)
>  
>  /*
> -- 
> 1.8.3.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux