x86: fixup the fallout of the bitops changes
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>hifive-unleashed-5.1
parent
83cd1daa1d
commit
48e2395722
|
@ -255,7 +255,7 @@ int ptep_test_and_clear_young(struct vm_area_struct *vma,
|
||||||
|
|
||||||
if (pte_young(*ptep))
|
if (pte_young(*ptep))
|
||||||
ret = test_and_clear_bit(_PAGE_BIT_ACCESSED,
|
ret = test_and_clear_bit(_PAGE_BIT_ACCESSED,
|
||||||
&ptep->pte);
|
(unsigned long *) &ptep->pte);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
pte_update(vma->vm_mm, addr, ptep);
|
pte_update(vma->vm_mm, addr, ptep);
|
||||||
|
|
Loading…
Reference in New Issue