android_kernel_xiaomi_sm8350/arch/m68k/mm
Johannes Weiner 9109fb7b35 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>
2008-07-24 10:47:16 -07:00
..
cache.c
fault.c
hwtest.c
init.c mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
kmap.c
Makefile
memory.c
motorola.c mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
sun3kmap.c
sun3mmu.c mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00