Ver Fonte

x86: fixup the fallout of the bitops changes

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner há 17 anos atrás
pai
commit
48e2395722
1 ficheiros alterados com 1 adições e 1 exclusões
  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);