Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99241
b: refs/heads/master
c: ebe7459
h: refs/heads/master
i:
  99239: 7e9d9b5
v: v3
  • Loading branch information
Haavard Skinnemoen committed Jul 2, 2008
1 parent 9a6b3aa commit 249fa17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 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: b13d618b44fefea7529bd467e55423d353a599fc
refs/heads/master: ebe74597a55fef00edc80a414ef5c6477d035e0a
16 changes: 3 additions & 13 deletions trunk/arch/avr32/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,9 @@ void __init paging_init(void)
zero_page = alloc_bootmem_low_pages_node(NODE_DATA(0),
PAGE_SIZE);

{
pgd_t *pg_dir;
int i;

pg_dir = swapper_pg_dir;
sysreg_write(PTBR, (unsigned long)pg_dir);

for (i = 0; i < PTRS_PER_PGD; i++)
pgd_val(pg_dir[i]) = 0;

enable_mmu();
printk ("CPU: Paging enabled\n");
}
sysreg_write(PTBR, (unsigned long)swapper_pg_dir);
enable_mmu();
printk ("CPU: Paging enabled\n");

for_each_online_node(nid) {
pg_data_t *pgdat = NODE_DATA(nid);
Expand Down

0 comments on commit 249fa17

Please sign in to comment.