powerpc: Fix assmption of end_of_DRAM() returns end address
authorBharat Bhushan <r65777@freescale.com>
Tue, 5 Jun 2012 03:55:04 +0000 (03:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Jul 2012 04:14:49 +0000 (14:14 +1000)
commita5cb82da786f610f7e84a0a8bcf9e0218c363040
tree3c5f1d32541fc6e438c9ee3932eaa1119f58fa9d
parentcf8fb5533f35709ba7e31560264b565a9c7a090f
powerpc: Fix assmption of end_of_DRAM() returns end address

memblock_end_of_DRAM() returns end_address + 1, not end address.
While some code assumes that it returns end address.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/44x/currituck.c
arch/powerpc/platforms/85xx/corenet_ds.c
arch/powerpc/platforms/85xx/ge_imp3a.c
arch/powerpc/platforms/85xx/mpc8536_ds.c
arch/powerpc/platforms/85xx/mpc85xx_ds.c
arch/powerpc/platforms/85xx/mpc85xx_mds.c
arch/powerpc/platforms/85xx/p1022_ds.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c