linux/arch/powerpc/platforms
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
..
8xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
40x powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
44x powerpc/4xx: Adding PCIe MSI support 2011-05-26 15:00:37 +10:00
52xx powerpc/mpc62xx_pic: Fix get_irq handling of NO_IRQ 2011-05-19 15:31:49 +10:00
82xx powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
83xx drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
85xx powerpc: Consolidate ipi message mux and demux 2011-05-19 15:31:03 +10:00
86xx powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD 2011-05-19 01:13:53 -05:00
512x powerpc/mpc5121_ads_cpld: Remove use of NO_IRQ_IGNORE 2011-05-19 15:31:47 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc/cell: Rename ipi functions to match current abstractions 2011-05-26 13:38:58 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
iseries powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +10:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/pmac: Don't register pmac PIC syscore ops when HW not present 2011-05-31 20:30:20 +09:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc: Remove trival irq_host_ops.unmap 2011-05-19 15:31:39 +10:00
pseries powerpc/mm: Fix memory_block_size_bytes() for non-pseries 2011-07-12 11:16:45 +10:00
wsp powerpc: Consolidate ipi message mux and demux 2011-05-19 15:31:03 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc: Remove unused/obsolete CONFIG_XICS 2011-05-19 16:55:11 +10:00
Kconfig.cputype powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +10:00
Makefile powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00