-
- Downloads
mm: drop unneeded pgdat argument from free_area_init_node()
free_area_init_node() gets passed in the node id as well as the node descriptor. This is redundant as the function can trivially get the node descriptor itself by means of NODE_DATA() and the node's id. I checked all the users and NODE_DATA() seems to be usable everywhere from where this function is called. Signed-off-by:Johannes Weiner <hannes@saeurebad.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/alpha/mm/numa.c 1 addition, 1 deletionarch/alpha/mm/numa.c
- arch/arm/mm/init.c 1 addition, 1 deletionarch/arm/mm/init.c
- arch/avr32/mm/init.c 1 addition, 1 deletionarch/avr32/mm/init.c
- arch/cris/arch-v10/mm/init.c 1 addition, 1 deletionarch/cris/arch-v10/mm/init.c
- arch/cris/arch-v32/mm/init.c 1 addition, 1 deletionarch/cris/arch-v32/mm/init.c
- arch/m32r/mm/discontig.c 1 addition, 2 deletionsarch/m32r/mm/discontig.c
- arch/m32r/mm/init.c 1 addition, 1 deletionarch/m32r/mm/init.c
- arch/m68k/mm/motorola.c 1 addition, 1 deletionarch/m68k/mm/motorola.c
- arch/m68k/mm/sun3mmu.c 1 addition, 1 deletionarch/m68k/mm/sun3mmu.c
- arch/parisc/mm/init.c 1 addition, 1 deletionarch/parisc/mm/init.c
- arch/sparc/mm/srmmu.c 1 addition, 2 deletionsarch/sparc/mm/srmmu.c
- arch/sparc/mm/sun4c.c 1 addition, 2 deletionsarch/sparc/mm/sun4c.c
- arch/v850/kernel/setup.c 1 addition, 2 deletionsarch/v850/kernel/setup.c
- include/linux/mm.h 2 additions, 3 deletionsinclude/linux/mm.h
- mm/memory_hotplug.c 1 addition, 1 deletionmm/memory_hotplug.c
- mm/page_alloc.c 6 additions, 5 deletionsmm/page_alloc.c
Loading
Please register or sign in to comment