Searched refs:seg_pages (Results 1 – 1 of 1) sorted by relevance
92 int seg_pages; in sun3_ioremap() local94 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; in sun3_ioremap()95 if(seg_pages > pages) in sun3_ioremap()96 seg_pages = pages; in sun3_ioremap()98 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()100 pages -= seg_pages; in sun3_ioremap()101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap()102 virt += seg_pages * PAGE_SIZE; in sun3_ioremap()