projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c009f
)
mm/m68k: prepare for killing free_all_bootmem_node()
author
Jiang Liu
<
[email protected]
>
Wed, 3 Jul 2013 22:04:27 +0000
(15:04 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:38 +0000
(16:07 -0700)
Prepare for killing free_all_bootmem_node() by using free_all_bootmem().
Signed-off-by: Jiang Liu <
[email protected]
>
Cc: Geert Uytterhoeven <
[email protected]
>
Cc: Greg Ungerer <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/m68k/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/m68k/mm/init.c
b/arch/m68k/mm/init.c
index 397a8848f06702c84d1b86fa885898203737162e..6e0a93869ec9fecee31751e02e43e95bfd3fca79 100644
(file)
--- a/
arch/m68k/mm/init.c
+++ b/
arch/m68k/mm/init.c
@@
-148,12
+148,10
@@
void __init print_memmap(void)
void __init mem_init(void)
{
- pg_data_t *pgdat;
int i;
/* this will put all memory onto the freelists */
- for_each_online_pgdat(pgdat)
- free_all_bootmem_node(pgdat);
+ free_all_bootmem();
#if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
/* insert pointer tables allocated so far into the tablelist */