Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312136
b: refs/heads/master
c: 856ac3c
h: refs/heads/master
v: v3
  • Loading branch information
Yong Zhang authored and Ralf Baechle committed Jul 19, 2012
1 parent ce88294 commit d769b65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 1bcfecc028686ea32e49b0f4f6e8a665917cb49a
refs/heads/master: 856ac3c6e0c4cb566014edf5fa185b962298db88
14 changes: 7 additions & 7 deletions trunk/arch/mips/kernel/smp-bmips.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,6 @@ static void bmips_init_secondary(void)

write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), 0));
#endif

/* make sure there won't be a timer interrupt for a little while */
write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ);

irq_enable_hazard();
set_c0_status(IE_SW0 | IE_SW1 | IE_IRQ1 | IE_IRQ5 | ST0_IE);
irq_enable_hazard();
}

/*
Expand All @@ -211,6 +204,13 @@ static void bmips_init_secondary(void)
static void bmips_smp_finish(void)
{
pr_info("SMP: CPU%d is running\n", smp_processor_id());

/* make sure there won't be a timer interrupt for a little while */
write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ);

irq_enable_hazard();
set_c0_status(IE_SW0 | IE_SW1 | IE_IRQ1 | IE_IRQ5 | ST0_IE);
irq_enable_hazard();
}

/*
Expand Down

0 comments on commit d769b65

Please sign in to comment.