Przeglądaj źródła

x86: fixup the fallout of the bitops changes

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 17 lat temu
rodzic
commit
48e2395722
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      arch/x86/mm/pgtable.c

+ 1 - 1
arch/x86/mm/pgtable.c

@@ -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);