mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-11 04:47:43 +00:00
[MIPS] Reformat missformated SMTC bits.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
3c70f12bfa
commit
6b8aab0930
@ -262,10 +262,10 @@ drop_mmu_context(struct mm_struct *mm, unsigned cpu)
|
|||||||
/* See comments for similar code above */
|
/* See comments for similar code above */
|
||||||
prevvpe = dvpe();
|
prevvpe = dvpe();
|
||||||
oldasid = (read_c0_entryhi() & ASID_MASK);
|
oldasid = (read_c0_entryhi() & ASID_MASK);
|
||||||
if(smtc_live_asid[mytlb][oldasid]) {
|
if (smtc_live_asid[mytlb][oldasid]) {
|
||||||
smtc_live_asid[mytlb][oldasid] &= ~(0x1 << cpu);
|
smtc_live_asid[mytlb][oldasid] &= ~(0x1 << cpu);
|
||||||
if(smtc_live_asid[mytlb][oldasid] == 0)
|
if(smtc_live_asid[mytlb][oldasid] == 0)
|
||||||
smtc_flush_tlb_asid(oldasid);
|
smtc_flush_tlb_asid(oldasid);
|
||||||
}
|
}
|
||||||
/* See comments for similar code above */
|
/* See comments for similar code above */
|
||||||
write_c0_entryhi((read_c0_entryhi() & ~HW_ASID_MASK)
|
write_c0_entryhi((read_c0_entryhi() & ~HW_ASID_MASK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user