Message ID | 20210520110043.149003-1-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | mips: kill pte_sw_mkyoung | expand |
On Thu, May 20, 2021 at 07:00:43PM +0800, Kefeng Wang wrote: > Kill unused pte_sw_mkyoung after > commit f685a533a7fa ("MIPS: make userspace mapping young by default"). I just sent a revert for that commit. So we still want and need pte_sw_mkyoung. Thomas.
On 2021/5/27 19:41, Thomas Bogendoerfer wrote: > On Thu, May 20, 2021 at 07:00:43PM +0800, Kefeng Wang wrote: >> Kill unused pte_sw_mkyoung after >> commit f685a533a7fa ("MIPS: make userspace mapping young by default"). > I just sent a revert for that commit. So we still want and need pte_sw_mkyoung. OKļ¼please ignore it. > Thomas. >
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h index 804889b70965..ad56fb8f4428 100644 --- a/arch/mips/include/asm/pgtable.h +++ b/arch/mips/include/asm/pgtable.h @@ -406,8 +406,6 @@ static inline pte_t pte_mkyoung(pte_t pte) return pte; } -#define pte_sw_mkyoung pte_mkyoung - #ifdef CONFIG_MIPS_HUGE_TLB_SUPPORT static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; }
Kill unused pte_sw_mkyoung after commit f685a533a7fa ("MIPS: make userspace mapping young by default"). Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> --- arch/mips/include/asm/pgtable.h | 2 -- 1 file changed, 2 deletions(-)