Re: [PATCH] Always use virt_to_phys() when translating kernel addresses

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

 



On Mon, 2007-03-19 at 10:41 +0100, Franck Bui-Huu wrote:

Hi Franck,

> This patch fixes two places where we used plain 'x - PAGE_OFFSET' to
> achieve virtual to physical address convertion. This type of convertion
> is no more allowed since commit 6f284a2ce7b8bc49cb8455b1763357897a899abb.

I think you should also review arch/mips/mm/dma-noncoherent.c, it seems
to use PAGE_OFFSET directly in dma_unmap_single. I'm using OWN_DMA so
this code is not used on my board.
 
Regards,

-- 
Maxime



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux