Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57293
b: refs/heads/master
c: 66b3092
h: refs/heads/master
i:
  57291: a17305c
v: v3
  • Loading branch information
Michael Neuling authored and Paul Mackerras committed Jun 2, 2007
1 parent 4543c84 commit dabffde
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b610b9780bdb2750849f32c2eefef46af58c67f8
refs/heads/master: 66b30922c8a2c880fe61080c5bf87ae6615b9f64
10 changes: 6 additions & 4 deletions trunk/arch/powerpc/platforms/pseries/xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ void __init xics_init_IRQ(void)
void xics_request_IPIs(void)
{
unsigned int ipi;
int rc;

ipi = irq_create_mapping(xics_host, XICS_IPI);
BUG_ON(ipi == NO_IRQ);
Expand All @@ -762,11 +763,12 @@ void xics_request_IPIs(void)
*/
set_irq_handler(ipi, handle_percpu_irq);
if (firmware_has_feature(FW_FEATURE_LPAR))
request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED,
"IPI", NULL);
rc = request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED,
"IPI", NULL);
else
request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED,
"IPI", NULL);
rc = request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED,
"IPI", NULL);
BUG_ON(rc);
}
#endif /* CONFIG_SMP */

Expand Down

0 comments on commit dabffde

Please sign in to comment.