Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148606
b: refs/heads/master
c: 5af9043
h: refs/heads/master
v: v3
  • Loading branch information
Steve Magnani authored and Michal Simek committed May 21, 2009
1 parent 4cb9e64 commit ac26552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: f2224ff07f345f3f9716071cc90ee50e29af7497
refs/heads/master: 5af90438023786e27178cc542f9a775594f8a126
7 changes: 3 additions & 4 deletions trunk/arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ static void __init paging_init(void)
int i;
unsigned long zones_size[MAX_NR_ZONES];

/* Clean every zones */
memset(zones_size, 0, sizeof(zones_size));

/*
* old: we can DMA to/from any address.put all page into ZONE_DMA
* We use only ZONE_NORMAL
*/
zones_size[ZONE_NORMAL] = max_mapnr;

/* every other zones are empty */
for (i = 1; i < MAX_NR_ZONES; i++)
zones_size[i] = 0;

free_area_init(zones_size);
}

Expand Down

0 comments on commit ac26552

Please sign in to comment.