Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221024
b: refs/heads/master
c: 4e929d2
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Oct 27, 2010
1 parent 0bf9438 commit e88d061
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 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: 88d927e94805ebeec11ec7687df7789b954e334e
refs/heads/master: 4e929d2bcf13eeaa9636448c55690b383a910391
7 changes: 0 additions & 7 deletions trunk/arch/arm/include/asm/memblock.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#ifndef _ASM_ARM_MEMBLOCK_H
#define _ASM_ARM_MEMBLOCK_H

#ifdef CONFIG_MMU
extern phys_addr_t lowmem_end_addr;
#define MEMBLOCK_REAL_LIMIT lowmem_end_addr
#else
#define MEMBLOCK_REAL_LIMIT 0
#endif

struct meminfo;
struct machine_desc;

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,13 +745,11 @@ static int __init early_vmalloc(char *arg)
}
early_param("vmalloc", early_vmalloc);

phys_addr_t lowmem_end_addr;

static void __init sanity_check_meminfo(void)
{
int i, j, highmem = 0;

lowmem_end_addr = __pa(vmalloc_min - 1) + 1;
memblock_set_current_limit(__pa(vmalloc_min - 1) + 1);

for (i = 0, j = 0; i < meminfo.nr_banks; i++) {
struct membank *bank = &meminfo.bank[j];
Expand Down

0 comments on commit e88d061

Please sign in to comment.