770e1ac5f2
Just compiling pseries in the kernel causes it to override memory_block_size_bytes() regardless of what is the runtime platform. This cleans up the implementation of that function, fixing a bug or two while at it, so that it's harmless (and potentially useful) for other platforms. Without this, bugs in that code would trigger a WARN_ON() in drivers/base/memory.c when booting some different platforms. If/when we have another platform supporting memory hotplug we might want to either move that out to a generic place or make it a ppc_md. callback. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cmm.c | ||
dlpar.c | ||
dtl.c | ||
eeh.c | ||
eeh_cache.c | ||
eeh_driver.c | ||
eeh_event.c | ||
eeh_sysfs.c | ||
event_sources.c | ||
firmware.c | ||
hotplug-cpu.c | ||
hotplug-memory.c | ||
hvCall.S | ||
hvCall_inst.c | ||
hvconsole.c | ||
hvcserver.c | ||
io_event_irq.c | ||
iommu.c | ||
kexec.c | ||
lpar.c | ||
mobility.c | ||
msi.c | ||
nvram.c | ||
offline_states.h | ||
pci.c | ||
pci_dlpar.c | ||
phyp_dump.c | ||
plpar_wrappers.h | ||
power.c | ||
pseries.h | ||
pseries_energy.c | ||
ras.c | ||
reconfig.c | ||
scanlog.c | ||
setup.c | ||
smp.c | ||
suspend.c |