Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123715
b: refs/heads/master
c: 6ce1b87
h: refs/heads/master
i:
  123713: 82174b2
  123711: a82f973
v: v3
  • Loading branch information
Julia Lawall authored and Russell King committed Dec 14, 2008
1 parent 12a16a7 commit 7360df9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: d517cab1c7fc92178e11c7ded2548b06b273d293
refs/heads/master: 6ce1b871db6a3ca69ed1e35956d89d3cacd7ba08
5 changes: 2 additions & 3 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,6 @@ static void __init devicemaps_init(struct machine_desc *mdesc)
* Allocate the vector page early.
*/
vectors = alloc_bootmem_low_pages(PAGE_SIZE);
BUG_ON(!vectors);

for (addr = VMALLOC_END; addr; addr += PGDIR_SIZE)
pmd_clear(pmd_off_k(addr));
Expand Down Expand Up @@ -912,10 +911,10 @@ void __init paging_init(struct machine_desc *mdesc)
top_pmd = pmd_off_k(0xffff0000);

/*
* allocate the zero page. Note that we count on this going ok.
* allocate the zero page. Note that this always succeeds and
* returns a zeroed result.
*/
zero_page = alloc_bootmem_low_pages(PAGE_SIZE);
memset(zero_page, 0, PAGE_SIZE);
empty_zero_page = virt_to_page(zero_page);
flush_dcache_page(empty_zero_page);
}
Expand Down

0 comments on commit 7360df9

Please sign in to comment.