summaryrefslogtreecommitdiff
path: root/arch/x86/mm/pgtable.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 19:24:34 +0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 10:58:36 +0400
commit48e239572271cf79412d90753a721242a765f7d9 (patch)
tree2a1523c8c800af9060b3fff3aae0933727d484bb /arch/x86/mm/pgtable.c
parent83cd1daa1dc3400e5ca2255818641233ebb30680 (diff)
downloadlinux-48e239572271cf79412d90753a721242a765f7d9.tar.xz
x86: fixup the fallout of the bitops changes
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/mm/pgtable.c')
-rw-r--r--arch/x86/mm/pgtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
index 50159764f694..ee1d6d39edd4 100644
--- a/arch/x86/mm/pgtable.c
+++ b/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);