Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63487
b: refs/heads/master
c: e9c227f
h: refs/heads/master
i:
  63485: d4b7723
  63483: f3bc3fa
  63479: 5f995dc
  63471: d199933
  63455: 9e23bfe
  63423: 8f2b8cd
  63359: b7f718a
  63231: ac67e1f
  62975: cafae32
  62463: 02837fb
  61439: aaeee93
v: v3
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent a712e10 commit 8031156
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 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: e0a725a7460b3bc3a15c95b1241394cb185d9af6
refs/heads/master: e9c227f9ecc0ddbaa5d4d197f7ee658aa4fee67f
17 changes: 11 additions & 6 deletions trunk/arch/mips/pmc-sierra/yosemite/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,23 @@ void titan_mailbox_irq(void)
int cpu = smp_processor_id();
unsigned long status;

if (cpu == 0) {
switch (cpu) {
case 0:
status = OCD_READ(RM9000x2_OCD_INTP0STATUS3);
OCD_WRITE(RM9000x2_OCD_INTP0CLEAR3, status);
}

if (cpu == 1) {
if (status & 0x2)
smp_call_function_interrupt();
break;

case 1:
status = OCD_READ(RM9000x2_OCD_INTP1STATUS3);
OCD_WRITE(RM9000x2_OCD_INTP1CLEAR3, status);
}

if (status & 0x2)
smp_call_function_interrupt();
if (status & 0x2)
smp_call_function_interrupt();
break;
}
}

/*
Expand Down

0 comments on commit 8031156

Please sign in to comment.