Re: 2.5.71-bk2-wli-1

From: William Lee Irwin III (wli@holomorphy.com)
Date: Mon Jun 16 2003 - 21:26:58 EST


On Mon, Jun 16, 2003 at 05:58:07PM -0700, William Lee Irwin III wrote:
> + highpmd fixes
> a few mm/memory.c functions forgot to pass pmd pointers by reference

Woops, I missed one:

diff -prauN wli-2.5.71-bk2-8/mm/memory.c wli-2.5.71-bk2-9/mm/memory.c
--- wli-2.5.71-bk2-8/mm/memory.c 2003-06-16 14:59:11.000000000 -0700
+++ wli-2.5.71-bk2-9/mm/memory.c 2003-06-16 17:45:05.000000000 -0700
@@ -1002,7 +1002,7 @@ int remap_page_range(struct vm_area_stru
                 error = remap_pmd_range(vma, &pmd, from, end - from, phys_addr + from, prot);
                 if (error)
                         break;
- pmd_unmap(pmd);
+ pmd_unmap(pmd - 1);
                 from = (from + PGDIR_SIZE) & PGDIR_MASK;
                 dir++;
         } while (from && (from < end));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:20 EST