Skip to content

Commit

Permalink
[MIPS] Remove unused instances of prom_build_cpu_map.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Jun 19, 2006
1 parent c583122 commit b0b0e13
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
19 changes: 0 additions & 19 deletions arch/mips/mips-boards/malta/malta_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,6 @@ void core_send_ipi(int cpu, unsigned int action)
#endif /* CONFIG_MIPS_MT_SMTC */
}

/*
* Detect available CPUs/VPEs/TCs and populate phys_cpu_present_map
*/

void __init prom_build_cpu_map(void)
{
int nextslot;

/*
* As of November, 2004, MIPSsim only simulates one core
* at a time. However, that core may be a MIPS MT core
* with multiple virtual processors and thread contexts.
*/

if (read_c0_config3() & (1<<2)) {
nextslot = mipsmt_build_cpu_map(1);
}
}

/*
* Platform "CPU" startup hook
*/
Expand Down
21 changes: 0 additions & 21 deletions arch/mips/mips-boards/sim/sim_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,6 @@ void core_send_ipi(int cpu, unsigned int action)

}

/*
* Detect available CPUs/VPEs/TCs and populate phys_cpu_present_map
*/

void __init prom_build_cpu_map(void)
{
#ifdef CONFIG_MIPS_MT_SMTC
int nextslot;

/*
* As of November, 2004, MIPSsim only simulates one core
* at a time. However, that core may be a MIPS MT core
* with multiple virtual processors and thread contexts.
*/

if (read_c0_config3() & (1<<2)) {
nextslot = mipsmt_build_cpu_map(1);
}
#endif /* CONFIG_MIPS_MT_SMTC */
}

/*
* Platform "CPU" startup hook
*/
Expand Down

0 comments on commit b0b0e13

Please sign in to comment.