Re: PATCH] cleanup hardcoding __pa/__va macros etc. (take-5)

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

 




On Sep 30, 2006, at 2:59 AM, Atsushi Nemoto wrote:

On Fri, 29 Sep 2006 23:45:12 +0900, girish <girishvg@xxxxxxxxx> wrote:
Please find attached patch created from 2.6.18 (kernel.org) tree.
Let me
know if this is alright.

Signed-off-by: Girish V. Gulawani <girishvg@xxxxxxxxx>

-#ifdef CONFIG_ISA
-	if (low < max_dma)
+	if (low < max_dma) }

This doesn't quite compile.


Stupid mistake. Fixed & resending.

Looks good to me, except for page.h part.

I agree, but as of now, I do not have any better solution. If & when I will implement kernel page table for memory above 2000_0000, I plan to give it a through mapping. That is to say, 4000_0000 physical mapped to 4000_0000 virtual. In that case the page.h __pa/__va macros stand a chance (^_^;)

If somebody has already done kernel page table implementation, could you please pass on the relevant patch? Thanks.



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

  Powered by Linux