diff options
| author | Jeff Dike <jdike@addtoit.com> | 2004-09-16 22:13:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-16 22:13:30 -0700 |
| commit | 02fe18c5944f27656fceafaa42ee95bac91de86b (patch) | |
| tree | 0ea5703181cc2128a0e56356c400b7f61ed2e4f3 /arch | |
| parent | f9ecaf102868d26b76905f5cefd056e5a13c6d37 (diff) | |
[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: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/um/kernel/skas/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/tlb.c b/arch/um/kernel/skas/tlb.c index ed3d6bcd5a4a..02e3e06bb033 100644 --- a/arch/um/kernel/skas/tlb.c +++ b/arch/um/kernel/skas/tlb.c @@ -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)){ |
