lkml.org 
[lkml]   [2003]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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/
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.037 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site