Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284793
b: refs/heads/master
c: b3ea581
h: refs/heads/master
i:
  284791: 388b668
v: v3
  • Loading branch information
Hillf Danton authored and Ralf Baechle committed Dec 7, 2011
1 parent f09fe62 commit b5646f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2aa54b2009bb4f85cdc42d16dde18093dd832a31
refs/heads/master: b3ea581834c1e36cc76589e63dedcd99fd6abf51
11 changes: 7 additions & 4 deletions trunk/arch/mips/netlogic/common/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,16 @@ void nlm_early_init_secondary(int cpu)
*/
static void __cpuinit nlm_init_secondary(void)
{
current_cpu_data.core = hard_smp_processor_id() / 4;
nlm_smp_irq_init();
}

void nlm_prepare_cpus(unsigned int max_cpus)
{
/* declare we are SMT capable */
smp_num_siblings = nlm_threads_per_core;
}

void nlm_smp_finish(void)
{
#ifdef notyet
Expand Down Expand Up @@ -183,10 +190,6 @@ void __init nlm_smp_setup(void)
nlm_set_nmi_handler(nlm_boot_secondary_cpus);
}

void nlm_prepare_cpus(unsigned int max_cpus)
{
}

static int nlm_parse_cpumask(u32 cpu_mask)
{
uint32_t core0_thr_mask, core_thr_mask;
Expand Down

0 comments on commit b5646f1

Please sign in to comment.