Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91541
b: refs/heads/master
c: 7132799
h: refs/heads/master
i:
  91539: f587eb1
v: v3
  • Loading branch information
Valentine Barshak authored and Olof Johansson committed Apr 7, 2008
1 parent 69db87e commit 9b00142
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: f724bf77813d73318bf97dab9626156a0a87c7fc
refs/heads/master: 7132799b0e49c48cf119dbe02d20810860d20991
9 changes: 4 additions & 5 deletions trunk/arch/powerpc/sysdev/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1410,11 +1410,6 @@ void mpic_cpu_set_priority(int prio)
mpic_cpu_write(MPIC_INFO(CPU_CURRENT_TASK_PRI), prio);
}

/*
* XXX: someone who knows mpic should check this.
* do we need to eoi the ipi including for kexec cpu here (see xics comments)?
* or can we reset the mpic in the new kernel?
*/
void mpic_teardown_this_cpu(int secondary)
{
struct mpic *mpic = mpic_primary;
Expand All @@ -1434,6 +1429,10 @@ void mpic_teardown_this_cpu(int secondary)

/* Set current processor priority to max */
mpic_cpu_write(MPIC_INFO(CPU_CURRENT_TASK_PRI), 0xf);
/* We need to EOI the IPI since not all platforms reset the MPIC
* on boot and new interrupts wouldn't get delivered otherwise.
*/
mpic_eoi(mpic);

spin_unlock_irqrestore(&mpic_lock, flags);
}
Expand Down

0 comments on commit 9b00142

Please sign in to comment.