Re: [PATCH 2/2] Added leon3_dma_ops and LEON specific mmu_inval_dma_area.

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

 



On Tue, Nov 3, 2009 at 01:28, Kristoffer Glembo <kristoffer@xxxxxxxxxxx> wrote:
> Added mmu_inval_dma_area for LEON which flushes dcache if snooping is not enabled
> and created LEON specific dma_ops.
>
> Best regards,
> Kristoffer Glembo
>
> ---
> diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
> index 9f61fd8..63aab03 100644
> --- a/arch/sparc/kernel/ioport.c
> +++ b/arch/sparc/kernel/ioport.c
> @@ -415,8 +631,6 @@ static int __init sparc_register_ioport(void)
>
>  arch_initcall(sparc_register_ioport);
>
> -#endif /* CONFIG_SBUS */
> -
>  #ifdef CONFIG_PCI
>
>  /* Allocate and map kernel buffer using consistent mode DMA for a device.

Should the arch_initcall() still be protected by the CONFIG_SBUS
ifdefs after this patch?

Thanks,

-- 

Julian Calaby

Email: julian.calaby@xxxxxxxxx
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux