Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201435
b: refs/heads/master
c: eda2e5d
h: refs/heads/master
i:
  201433: ca453fa
  201431: d05ad67
v: v3
  • Loading branch information
Russell King committed Jul 27, 2010
1 parent 57c072b commit 5ffae53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 98864ff58dd2b8ef9e72b0d2c70f34e7ff24a2ee
refs/heads/master: eda2e5dcc914b4d70f665443efc9780e89a5e5c1
13 changes: 6 additions & 7 deletions trunk/arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,17 +257,16 @@ int pfn_valid(unsigned long pfn)
}
EXPORT_SYMBOL(pfn_valid);

static void arm_memory_present(struct meminfo *mi)
static void arm_memory_present(void)
{
}
#else
static void arm_memory_present(struct meminfo *mi)
static void arm_memory_present(void)
{
int i;
for_each_bank(i, mi) {
struct membank *bank = &mi->bank[i];
memory_present(0, bank_pfn_start(bank), bank_pfn_end(bank));
}
for (i = 0; i < memblock.memory.cnt; i++)
memory_present(0, memblock_start_pfn(&memblock.memory, i),
memblock_end_pfn(&memblock.memory, i));
}
#endif

Expand Down Expand Up @@ -320,7 +319,7 @@ void __init bootmem_init(void)
* Sparsemem tries to allocate bootmem in memory_present(),
* so must be done after the fixed reservations
*/
arm_memory_present(mi);
arm_memory_present();

/*
* sparse_init() needs the bootmem allocator up and running.
Expand Down

0 comments on commit 5ffae53

Please sign in to comment.