VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jiang Liu <liuj97@gmail.com> 2013-07-03 15:03:24 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-07-03 16:07:33 -0700 commit: 0c988534737a358fdff42fcce78f0ff1a12dbfc5 parent: 3dcc0571cd64816309765b7c7e4691a4cadf2ee7
Commit Summary:
mm: concentrate modification of totalram_pages into the mm core
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index c831f1dba132..a506dd4724e0 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -140,7 +140,7 @@ void __init mem_init(void)
 	max_mapnr = num_physpages = MAP_NR(high_memory);
 
 	/* this will put all low memory onto the freelists */
-	totalram_pages = free_all_bootmem();
+	free_all_bootmem();
 
 	codek = (_etext - _stext) >> 10;
 	datak = (__bss_stop - _sdata) >> 10;