On Fri, Mar 11, 2005 at 01:36:31PM +0000, Alan Cox wrote: > On Gwe, 2005-03-11 at 05:25, Rishabh@xxxxxxxxxxxx wrote: > > These macros can handle memory pages in KSEG0. Any suggestions on how > > can they be changed for addressing memory present in HIGHMEM. Since VA > > will not be in linear relation with mem_map. > > Take a look at how kmap() works on x86 and how the mappings are used. Highmem is supported for MIPS since ~ 2.4.18 or so. Ralf