]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/mmu.c
Merge branch 'linus' into x86/xen
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / mmu.c
index 4fa0934db9252f04484750b563d5cf9886b874f4..7c9935858f9277fb97e1623d0b6380fbb9e9f072 100644 (file)
@@ -185,7 +185,7 @@ xmaddr_t arbitrary_virt_to_machine(unsigned long address)
 {
        unsigned int level;
        pte_t *pte = lookup_address(address, &level);
-       unsigned offset = address & PAGE_MASK;
+       unsigned offset = address & ~PAGE_MASK;
 
        BUG_ON(pte == NULL);