Re: [PATCH 1/4] io_remap_pfn_range: add for all arch-es

2005-03-18 Thread Randy.Dunlap
Paul Mackerras wrote: Just by inspection, this looks like pfn should be changed to paddr64 >> PAGE_SHIFT in that last line. Paul. Agreed, thank you. Patch is attached. -- ~Randy Fix asm-ppc argument, spotted by Paul Mackerras. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> diffstat:= include/

Re: [PATCH 1/4] io_remap_pfn_range: add for all arch-es

2005-03-18 Thread Paul Mackerras
Randy.Dunlap writes: > diff -Naurp -X /home/rddunlap/doc/dontdiff-osdl > linux-2611-bk3-pv/include/asm-ppc/pgtable.h > linux-2611-bk3-pfn/include/asm-ppc/pgtable.h > --- linux-2611-bk3-pv/include/asm-ppc/pgtable.h 2005-03-07 > 11:02:18.0 -0800 > +++ linux-2611-bk3-pfn/include/asm-

[PATCH 1/4] io_remap_pfn_range: add for all arch-es

2005-03-18 Thread Randy.Dunlap
io_remap_pfn_range(): add io_remap_pfn_range() for all arches; add MK_IOSPACE_PFN(), GET_IOSPACE(), and GET_PFN() for all arches but primarily for sparc32/64's extended IO space, sparc: kill the hack of using low bit of to mean write_combine or set side-effect (_PAGE_E) bit;