Re: [PATCH] defined a macro for lemote 2e box IO base

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

 



On 21:24 Fri 24 Oct     , Maciej W. Rozycki wrote:
> On Fri, 24 Oct 2008, Zhang Le wrote:
> 
> > Thanks for the comment.
> > I have checked how other platforms handle this problem.
> > Many have used CKSEG1ADDR.
> 
>  Please note long-term we want CKSEG1ADDR() to go away from board/platform 
> code and possibly only keep it for some generic use if at all.  Have you 
> considered using ioremap()?  With a literal physical address it should get 
> optimised to the same code as the use of CKSEG1ADDR() produces, yet keep 
> the source portable and in line with the rest of the kernel.

Thank you!
I will make a new patch.

Zhang, Le


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

  Powered by Linux