Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125729
b: refs/heads/master
c: 2e4e27c
h: refs/heads/master
i:
  125727: 9c2e49d
v: v3
  • Loading branch information
Adam Lackorzynski authored and Linus Torvalds committed Jan 4, 2009
1 parent 59978bf commit 4bbde47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b574b7b0124ed344911f5d581e9bc2d83bbeb19
refs/heads/master: 2e4e27c7d082b2198b63041310609d7191185a9d
5 changes: 3 additions & 2 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ static int vmap_pud_range(pgd_t *pgd, unsigned long addr,
*
* Ie. pte at addr+N*PAGE_SIZE shall point to pfn corresponding to pages[N]
*/
static int vmap_page_range(unsigned long addr, unsigned long end,
static int vmap_page_range(unsigned long start, unsigned long end,
pgprot_t prot, struct page **pages)
{
pgd_t *pgd;
unsigned long next;
unsigned long addr = start;
int err = 0;
int nr = 0;

Expand All @@ -167,7 +168,7 @@ static int vmap_page_range(unsigned long addr, unsigned long end,
if (err)
break;
} while (pgd++, addr = next, addr != end);
flush_cache_vmap(addr, end);
flush_cache_vmap(start, end);

if (unlikely(err))
return err;
Expand Down

0 comments on commit 4bbde47

Please sign in to comment.