Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Mon, 16 Jun 2003 19:26:58 -0700 | From | William Lee Irwin III <> | Subject | Re: 2.5.71-bk2-wli-1 |
| |
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/
| ![\](/images/icornerr.gif) |