Skip to contentSkip to conversation

mips: kill pte_sw_mkyoung

PATCH In review Kefeng Wang 2 participants 3 messages May 20, 2021 – May 27, 2021 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: kill pte_sw_mkyoung

Kill unused pte_sw_mkyoung after
commit f685a533a7fa ("MIPS: make userspace mapping young by default").

---
 arch/mips/include/asm/pgtable.h | 2 --
 1 file changed, 2 deletions(-)
arch/mips/include/asm/pgtable.h +0 -2
index 804889b70965..ad56fb8f4428 100644
@@ -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; }
 
Signature · 1 line
2.26.2
#1 lore raw
Quoted 2 lines · Kefeng Wang

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.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#2 lore raw
Quoted 4 lines · Thomas Bogendoerfer
Quoted 2 lines · Kefeng Wang

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.

Quoted 2 lines

Thomas.