powerpc: Export memstart_addr and kernstart_addr on ppc64
authorSonny Rao <sonnyrao@us.ibm.com>
Thu, 19 Aug 2010 18:08:09 +0000 (18:08 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Aug 2010 05:26:26 +0000 (15:26 +1000)
commit79c3095fb39964d0d44368cbbb4eff5b52c43d2c
tree6245ed4b5a1be5dba85a68c7551cb1b51922d0b9
parent529b7307d804f649839b5b65b303442140266d26
powerpc: Export memstart_addr and kernstart_addr on ppc64

Some modules (like eHCA) want to map all of kernel memory, for this to
work with a relocated kernel, we need to export kernstart_addr so
modules can use PHYSICAL_START and memstart_addr so they could use
MEMORY_START.  Note that the 32bit code already exports these symbols.

Signed-off-By: Sonny Rao <sonnyrao@us.ibm.com>

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/init_64.c