]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mm/page_alloc: remove unused parameter in init_currently_empty_zone()
authorYaowei Bai <bywxiaobai@163.com>
Fri, 6 Nov 2015 02:47:06 +0000 (18:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commitb171e4093017d4d6e411f5e97823e5e4a21266a2
treea8579ea692239eb3058541654ad8145dc4d0e3e9
parentf2f81fb2b72b83b661b11da6f1b0bd3526706278
mm/page_alloc: remove unused parameter in init_currently_empty_zone()

Commit a2f3aa025766 ("[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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/memory_hotplug.c
mm/page_alloc.c