kernel-ark/arch/openrisc/kernel
Tejun Heo fe091c208a memblock: Kill memblock_init()
memblock_init() initializes arrays for regions and memblock itself;
however, all these can be done with struct initializers and
memblock_init() can be removed.  This patch kills memblock_init() and
initializes memblock with struct initializer.

The only difference is that the first dummy entries don't have .nid
set to MAX_NUMNODES initially.  This doesn't cause any behavior
difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: "H. Peter Anvin" <hpa@zytor.com>
2011-12-08 10:22:07 -08:00
..
asm-offsets.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
dma.c Add missing DMA ops 2011-09-11 09:50:39 +02:00
entry.S OpenRISC: Boot code 2011-07-22 18:46:27 +02:00
head.S OpenRISC: Boot code 2011-07-22 18:46:27 +02:00
idle.c OpenRISC: Idle/Power management 2011-07-22 18:46:35 +02:00
init_task.c OpenRISC: Boot code 2011-07-22 18:46:27 +02:00
irq.c OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
Makefile OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00
module.c OpenRISC: Module support 2011-07-22 18:46:37 +02:00
or32_ksyms.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
process.c OpenRISC: Scheduling/Process management 2011-07-22 18:46:36 +02:00
prom.c memblock: Kill memblock_init() 2011-12-08 10:22:07 -08:00
ptrace.c OpenRISC: PTrace 2011-07-22 18:46:31 +02:00
setup.c OpenRISC: Boot code 2011-07-22 18:46:27 +02:00
signal.c openrisc: don't use pt_regs in struct sigcontext 2011-09-05 14:29:12 +02:00
sys_call_table.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
sys_or32.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
time.c OpenRISC: Timekeeping 2011-07-22 18:46:32 +02:00
traps.c OpenRISC: Traps 2011-07-22 18:46:38 +02:00
vmlinux.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
vmlinux.lds.S OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00