MIPS: Netlogic: Add nlm_get_boot_data() helper
authorJayachandran C <jchandra@broadcom.com>
Mon, 10 Jun 2013 06:41:03 +0000 (06:41 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 15:46:42 +0000 (17:46 +0200)
commit53c832197f3adc5a360336f75fe34a95fe2d796b
tree38051db66167b987dbdd8aa4064fbb46f86b3427
parent571886b2a52395f030d439c6259663a033e11e6a
MIPS: Netlogic: Add nlm_get_boot_data() helper

This moves the calculation and casting needed to access the CPU initialization
data to a function nlm_get_boot_data()

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5426/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/common.h
arch/mips/netlogic/common/smp.c