]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/page_alloc: remove unused parameter in init_currently_empty_zone()
authorYaowei Bai <bywxiaobai@163.com>
Wed, 21 Oct 2015 22:03:02 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:02 +0000 (09:03 +1100)
commit3de3dce3ff5b70cc8ebdd59c3b8c0d611826bd4f
tree5c59ee5eb0f655fd12ae02e10dd1fc191fc02cc7
parentffaf87312a0a50b6772ad54ff8e508e32a641947
mm/page_alloc: remove unused parameter in init_currently_empty_zone()

Commit a2f3aa02576632cdb ("[PATCH] Fix sparsemem on Cell") fixed an oops
experienced on the Cell architecture when init-time functions, early_*(),
are called at runtime by introducing an 'enum memmap_context' parameter to
memmap_init_zone() and init_currently_empty_zone().  This parameter is
intended to be used to tell whether the call of these two functions is
being made on behalf of a hotplug event, or happening at boot-time.
However, init_currently_empty_zone() does not use this parameter at all,
so remove it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h
mm/memory_hotplug.c
mm/page_alloc.c