Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262714
b: refs/heads/master
c: 53876e3
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Aug 5, 2011
1 parent 1eb75a8 commit 77f0ef2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8aa6d359298ad284a202dc43f103e2f8100a6e82
refs/heads/master: 53876e387d962f7f37747150f33f2aa920a7b20c
8 changes: 3 additions & 5 deletions trunk/arch/powerpc/platforms/pseries/io_event_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,15 @@ static int __init ioei_init(void)
struct device_node *np;

ioei_check_exception_token = rtas_token("check-exception");
if (ioei_check_exception_token == RTAS_UNKNOWN_SERVICE) {
pr_warning("IO Event IRQ not supported on this system !\n");
if (ioei_check_exception_token == RTAS_UNKNOWN_SERVICE)
return -ENODEV;
}

np = of_find_node_by_path("/event-sources/ibm,io-events");
if (np) {
request_event_sources_irqs(np, ioei_interrupt, "IO_EVENT");
pr_info("IBM I/O event interrupts enabled\n");
of_node_put(np);
} else {
pr_err("io_event_irq: No ibm,io-events on system! "
"IO Event interrupt disabled.\n");
return -ENODEV;
}
return 0;
Expand Down

0 comments on commit 77f0ef2

Please sign in to comment.