Re: [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition

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

 



> HAVE_ARCH_PCI_SET_DMA_MASK is unused, so remove the #define for it.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Pretty good. Thanks
Acked-by: GUAN Xuetao <gxt@xxxxxxxxxxxxxxx>

> ---
>  arch/unicore32/include/mach/hardware.h |    5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/arch/unicore32/include/mach/hardware.h
> b/arch/unicore32/include/mach/hardware.h
> index 9e20b5d..2514623 100644
> --- a/arch/unicore32/include/mach/hardware.h
> +++ b/arch/unicore32/include/mach/hardware.h
> @@ -28,11 +28,6 @@
>  #define PCIBIOS_MIN_IO			0x4000 /* should lower than 64KB */
>  #define PCIBIOS_MIN_MEM			io_v2p(PKUNITY_PCIMEM_BASE)
>
> -/*
> - * We override the standard dma-mask routines for bouncing.
> - */
> -#define	HAVE_ARCH_PCI_SET_DMA_MASK
> -
>  #define pcibios_assign_all_busses()	1
>
>  #endif  /* __MACH_PUV3_HARDWARE_H__ */
>

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux