diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-07-23 10:57:51 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 13:26:12 +0100 |
commit | babba4f11379fb3804de802a3d0bc6b96c59d547 (patch) | |
tree | d64a578bc2999c286518158d738e7c9d909f469f /arch/mips/include/asm/octeon/octeon.h | |
parent | 442f201286bfbbcd5ba5acb616914004be3e6268 (diff) | |
download | op-kernel-dev-babba4f11379fb3804de802a3d0bc6b96c59d547.zip op-kernel-dev-babba4f11379fb3804de802a3d0bc6b96c59d547.tar.gz |
MIPS: Octeon: HOTPLUG_CPU fixes.
* Rename camel-case InitTLBStart_addr to octeon_bootloader_entry_addr.
* Convert calls to cvmx_read64_uint32(), to simple pointer
dereferences.
* Set proper ebase.
* Don't confuse coreid and cpu numbers.
* Try to maintain consistent bootloader coremask.
* Update the signature and boot_init_vector of supported bootloaders.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1491/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/octeon/octeon.h')
-rw-r--r-- | arch/mips/include/asm/octeon/octeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h index ca6214b..c29debe 100644 --- a/arch/mips/include/asm/octeon/octeon.h +++ b/arch/mips/include/asm/octeon/octeon.h @@ -253,4 +253,6 @@ static inline uint32_t octeon_npi_read32(uint64_t address) extern struct cvmx_bootinfo *octeon_bootinfo; +extern uint64_t octeon_bootloader_entry_addr; + #endif /* __ASM_OCTEON_OCTEON_H */ |