git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: concentrate modification of totalram_pages into the mm core
[sfrench/cifs-2.6.git]
/
arch
/
h8300
/
mm
/
init.c
diff --git
a/arch/h8300/mm/init.c
b/arch/h8300/mm/init.c
index c831f1dba1324f77b38a005059cd58cb448d6619..a506dd4724e0288a2e3d9ac528c04a82bea384d4 100644
(file)
--- 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;