diff options
author | Bibo Mao <maobibo@loongson.cn> | 2020-05-27 10:25:20 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-05-27 13:07:09 +0200 |
commit | 273b5fa00fadabd587fac858ea61a17b3653892d (patch) | |
tree | 037132b19edac8ec710d7f4189201d46e155c39f /arch/mips/kernel/genex.S | |
parent | 44bf431b47b4298d8aaba7b02d0ad29fc609a03c (diff) |
MIPS: mm: add page valid judgement in function pte_modify
If original PTE has _PAGE_ACCESSED bit set, and new pte has no
_PAGE_NO_READ bit set, we can add _PAGE_SILENT_READ bit to enable
page valid bit.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kernel/genex.S')
0 files changed, 0 insertions, 0 deletions