seg = sun3_get_segmap(i);
if(seg == SUN3_INVALID_PMEG)
continue;
-
+
sun3_put_segmap(i, SUN3_INVALID_PMEG);
pmeg_alloc[seg] = 0;
pmeg_ctx[seg] = 0;
}
sun3_put_context(oldctx);
-
+
}
/* Flush a single TLB page. In this case, we're limited to flushing a
pmeg_alloc[i] = 0;
pmeg_ctx[i] = 0;
pmeg_vaddr[i] = 0;
- sun3_put_segmap (addr, SUN3_INVALID_PMEG);
+ sun3_put_segmap (addr, SUN3_INVALID_PMEG);
}
sun3_put_context(oldctx);
{
struct mm_struct *mm = vma->vm_mm;
unsigned char seg, oldctx;
-
+
start &= ~SUN3_PMEG_MASK;
oldctx = sun3_get_context();
while(start < end)
{
- if((seg = sun3_get_segmap(start)) == SUN3_INVALID_PMEG)
+ if((seg = sun3_get_segmap(start)) == SUN3_INVALID_PMEG)
goto next;
if(pmeg_ctx[seg] == mm->context) {
pmeg_alloc[seg] = 0;