diff mbox series

mips: kill pte_sw_mkyoung

Message ID 20210520110043.149003-1-wangkefeng.wang@huawei.com (mailing list archive)
State Rejected
Headers show
Series mips: kill pte_sw_mkyoung | expand

Commit Message

Kefeng Wang May 20, 2021, 11 a.m. UTC
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(-)

Comments

Thomas Bogendoerfer May 27, 2021, 11:41 a.m. UTC | #1
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.
Kefeng Wang May 27, 2021, 12:16 p.m. UTC | #2
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 mbox series

Patch

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; }