mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
arm64: mm: Remove misleading pte_none() comment from ptep_try_set()
This comment was thoughtlessly copied from the x86 version and doesn't apply to arm64. Remove it. Reported-by: Will Deacon <will@kernel.org> Signed-off-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20260614210209.2371030-1-tj@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
parent
2148794eea
commit
16deef8de0
|
|
@ -1830,10 +1830,6 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
|
|||
return __ptep_get_and_clear(mm, addr, ptep);
|
||||
}
|
||||
|
||||
/*
|
||||
* Note: strictly-zero compare is narrower than pte_none(), but the gap is
|
||||
* harmless: a fresh kernel PTE has no software bits set.
|
||||
*/
|
||||
static inline bool ptep_try_set(pte_t *ptep, pte_t new_pte)
|
||||
{
|
||||
pteval_t old = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user