On 2015年10月27日 09:09, Thomas Chou wrote:
As virt_to_phys() is used a lot in DMA transfer, change it
to use physaddr_mask in global data. This will save an "if"
statement and get a little faster.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/cpu.c | 1 +
arch/nios2/include/a
On Tuesday, October 27, 2015 at 02:09:57 AM, Thomas Chou wrote:
> As virt_to_phys() is used a lot in DMA transfer, change it
> to use physaddr_mask in global data. This will save an "if"
> statement and get a little faster.
>
> Signed-off-by: Thomas Chou
Makes sense.
Acked-by: Marek Vasut
Bes
As virt_to_phys() is used a lot in DMA transfer, change it
to use physaddr_mask in global data. This will save an "if"
statement and get a little faster.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/cpu.c | 1 +
arch/nios2/include/asm/global_data.h | 1 +
arch/nios2/include/asm/
3 matches
Mail list logo