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