x86: fixup the fallout of the bitops changes
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 15:24:34 +0000 (17:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:58:36 +0000 (08:58 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pgtable.c

index 50159764f694e91dc0b9a3884290d52233219953..ee1d6d39edd4343e52300a1691049c3976402eb6 100644 (file)
@@ -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);