committed by
Ralf Baechle
parent
6b12397954
commit
304429915d
@@ -250,7 +250,7 @@ void __update_tlb(struct vm_area_struct * vma, unsigned long address, pte_t pte)
|
|||||||
idx = read_c0_index();
|
idx = read_c0_index();
|
||||||
ptep = pte_offset_map(pmdp, address);
|
ptep = pte_offset_map(pmdp, address);
|
||||||
|
|
||||||
#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)
|
#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)
|
||||||
write_c0_entrylo0(ptep->pte_high);
|
write_c0_entrylo0(ptep->pte_high);
|
||||||
ptep++;
|
ptep++;
|
||||||
write_c0_entrylo1(ptep->pte_high);
|
write_c0_entrylo1(ptep->pte_high);
|
||||||
@@ -357,7 +357,8 @@ __init int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,
|
|||||||
old_pagemask = read_c0_pagemask();
|
old_pagemask = read_c0_pagemask();
|
||||||
wired = read_c0_wired();
|
wired = read_c0_wired();
|
||||||
if (--temp_tlb_entry < wired) {
|
if (--temp_tlb_entry < wired) {
|
||||||
printk(KERN_WARNING "No TLB space left for add_temporary_entry\n");
|
printk(KERN_WARNING
|
||||||
|
"No TLB space left for add_temporary_entry\n");
|
||||||
ret = -ENOSPC;
|
ret = -ENOSPC;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user