Commit 02fe18c5 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: restrict tlb flushing

One of UML's tlb flushing routines was ignoring the address range passed in by
its callers.  This patch fixes that.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f9ecaf10
......@@ -77,7 +77,7 @@ void flush_tlb_kernel_range_skas(unsigned long start, unsigned long end)
int updated = 0, err;
mm = &init_mm;
for(addr = start_vm; addr < end_vm;){
for(addr = start; addr < end;){
pgd = pgd_offset(mm, addr);
pmd = pmd_offset(pgd, addr);
if(pmd_present(*pmd)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment