linux-stable-rt/arch/powerpc/platforms/pseries
Benjamin Herrenschmidt 770e1ac5f2 powerpc/mm: Fix memory_block_size_bytes() for non-pseries
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>
2011-07-12 11:16:45 +10:00
..
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 powerpc/mm: Fix memory_block_size_bytes() for non-pseries 2011-07-12 11:16:45 +10:00
hvCall.S
hvCall_inst.c
hvconsole.c
hvcserver.c
io_event_irq.c
iommu.c powerpc/pseries/iommu: Cleanup ddw naming 2011-05-19 17:25:28 +10:00
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