summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pgtable.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 17:24:34 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 08:58:36 +0200
commit48e239572271cf79412d90753a721242a765f7d9 (patch)
tree2a1523c8c800af9060b3fff3aae0933727d484bb /arch/x86/mm/pgtable.c
parentx86: eliminate dead code in x86_64 entry.S (diff)
downloadlinux-48e239572271cf79412d90753a721242a765f7d9.tar.xz
linux-48e239572271cf79412d90753a721242a765f7d9.zip
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);