Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201437
b: refs/heads/master
c: a9deb13
h: refs/heads/master
i:
  201435: 5ffae53
v: v3
  • Loading branch information
Russell King committed Jul 27, 2010
1 parent 94bb294 commit e3f5aaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: e07b9e08601b400aee7e076e7b31799d3dd48c1e
refs/heads/master: a9deb137e4eb94d0a4fa0c3535b2c056d9363bef
8 changes: 3 additions & 5 deletions trunk/arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,12 @@ static void __init arm_bootmem_init(struct meminfo *mi,
}
}

static void __init arm_bootmem_free(struct meminfo *mi)
static void __init arm_bootmem_free(struct meminfo *mi, unsigned long min,
unsigned long max_low, unsigned long max_high)
{
unsigned long zone_size[MAX_NR_ZONES], zhole_size[MAX_NR_ZONES];
unsigned long min, max_low, max_high;
int i;

find_limits(mi, &min, &max_low, &max_high);

/*
* initialise the zones.
*/
Expand Down Expand Up @@ -330,7 +328,7 @@ void __init bootmem_init(void)
* the sparse mem_map arrays initialized by sparse_init()
* for memmap_init_zone(), otherwise all PFNs are invalid.
*/
arm_bootmem_free(mi);
arm_bootmem_free(mi, min, max_low, max_high);

high_memory = __va((max_low << PAGE_SHIFT) - 1) + 1;

Expand Down

0 comments on commit e3f5aaa

Please sign in to comment.