MIPS: Netlogic: Initialization when !CONFIG_SMP
The core initialization and reset vector setup needs to be done even when booting uniprocessor. Move this code from smp.c to setup.c Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5428/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
9584c55a5c
commit
571886b2a5
@@ -254,15 +254,9 @@ unsupp:
|
||||
|
||||
int __cpuinit nlm_wakeup_secondary_cpus(void)
|
||||
{
|
||||
unsigned long reset_vec;
|
||||
char *reset_data;
|
||||
int threadmode;
|
||||
|
||||
/* Update reset entry point with CPU init code */
|
||||
reset_vec = CKSEG1ADDR(RESET_VEC_PHYS);
|
||||
memcpy((void *)reset_vec, (void *)nlm_reset_entry,
|
||||
(nlm_reset_entry_end - nlm_reset_entry));
|
||||
|
||||
/* verify the mask and setup core config variables */
|
||||
threadmode = nlm_parse_cpumask(&nlm_cpumask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user