Skip to content

Commit

Permalink
Compute memory size correctly
Browse files Browse the repository at this point in the history
Sebastien Bourdeauducq committed May 22, 2012
1 parent 125d571 commit df8fcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/lm32/mm/init.c
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ void __init mem_init(void)
{
high_memory = (void *)__va(max_low_pfn * PAGE_SIZE);

max_mapnr = num_physpages = max_low_pfn;
max_mapnr = num_physpages = max_low_pfn - min_low_pfn;

totalram_pages = free_all_bootmem();

0 comments on commit df8fcc1

Please sign in to comment.