Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64471
b: refs/heads/master
c: dc0366b
h: refs/heads/master
i:
  64469: e8c8b6c
  64467: 1b32308
  64463: ceb9b2d
v: v3
  • Loading branch information
Ralf Baechle committed Aug 27, 2007
1 parent e03c96d commit a99e113
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 99e480d81ca98c25918c460fdb5ca876d7df6178
refs/heads/master: dc0366bf3cd35e4be89f715ff834a06c590fff7a
9 changes: 5 additions & 4 deletions trunk/arch/mips/mips-boards/malta/malta_smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ void prom_init_secondary(void)
myvpe = read_c0_tcbind() & TCBIND_CURVPE;
if (myvpe != 0) {
/* Ideally, this should be done only once per VPE, but... */
clear_c0_status(STATUSF_IP2);
set_c0_status(STATUSF_IP0 | STATUSF_IP1 | STATUSF_IP3
| STATUSF_IP4 | STATUSF_IP5 | STATUSF_IP6
| STATUSF_IP7);
clear_c0_status(ST0_IM);
set_c0_status((0x100 << cp0_compare_irq)
| (0x100 << MIPS_CPU_IPI_IRQ));
if (cp0_perfcount_irq >= 0)
set_c0_status(0x100 << cp0_perfcount_irq);
}

smtc_init_secondary();
Expand Down

0 comments on commit a99e113

Please sign in to comment.