Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330270
b: refs/heads/master
c: a84fcd4
h: refs/heads/master
v: v3
  • Loading branch information
Suzuki Poulose authored and Benjamin Herrenschmidt committed Sep 7, 2012
1 parent c49e14d commit 5adbe87
Show file tree
Hide file tree
Showing 6 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: 0090e02b947c5de1cf978f52ac12c7b532e61154
refs/heads/master: a84fcd46870113e92523e1ebb9a0ec75f66e03a2
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/include/asm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ extern void ppc_printk_progress(char *s, unsigned short hex);
extern unsigned int rtas_data;
extern int mem_init_done; /* set on boot once kmalloc can be called */
extern int init_bootmem_done; /* set once bootmem is available */
extern phys_addr_t memory_limit;
extern unsigned long long memory_limit;
extern unsigned long klimit;
extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kernel/fadump.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ int __init fadump_reserve_mem(void)
else
memory_limit = memblock_end_of_DRAM();
printk(KERN_INFO "Adjusted memory_limit for firmware-assisted"
" dump, now %#016llx\n",
(unsigned long long)memory_limit);
" dump, now %#016llx\n", memory_limit);
}
if (memory_limit)
memory_boundary = memory_limit;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void __init reserve_crashkernel(void)
if (memory_limit && memory_limit <= crashk_res.end) {
memory_limit = crashk_res.end + 1;
printk("Adjusted memory limit for crashkernel, now 0x%llx\n",
(unsigned long long)memory_limit);
memory_limit);
}

printk(KERN_INFO "Reserving %ldMB of memory at %ldMB "
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static int __init early_parse_mem(char *p)
return 1;

memory_limit = PAGE_ALIGN(memparse(p, &p));
DBG("memory limit = 0x%llx\n", (unsigned long long)memory_limit);
DBG("memory limit = 0x%llx\n", memory_limit);

return 0;
}
Expand Down Expand Up @@ -661,7 +661,7 @@ void __init early_init_devtree(void *params)

/* make sure we've parsed cmdline for mem= before this */
if (memory_limit)
first_memblock_size = min(first_memblock_size, memory_limit);
first_memblock_size = min_t(u64, first_memblock_size, memory_limit);
setup_initial_memory_limit(memstart_addr, first_memblock_size);
/* Reserve MEMBLOCK regions used by kernel, initrd, dt, etc... */
memblock_reserve(PHYSICAL_START, __pa(klimit) - PHYSICAL_START);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

int init_bootmem_done;
int mem_init_done;
phys_addr_t memory_limit;
unsigned long long memory_limit;

#ifdef CONFIG_HIGHMEM
pte_t *kmap_pte;
Expand Down

0 comments on commit 5adbe87

Please sign in to comment.