Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17219
b: refs/heads/master
c: 9da5cad
h: refs/heads/master
i:
  17217: d84e4c5
  17215: 60bd883
v: v3
  • Loading branch information
Haren Myneni authored and Paul Mackerras committed Jan 9, 2006
1 parent 0d015c7 commit 7a8e605
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 79e7bac0d6ad56d62e2364313b5e5e5950c7385d
refs/heads/master: 9da5cad61c13fbdc7fc7aa425f03a15da9d0cb43
15 changes: 9 additions & 6 deletions trunk/arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,15 +324,18 @@ static void __init pSeries_discover_pic(void)
ppc64_interrupt_controller = IC_INVALID;
for (np = NULL; (np = of_find_node_by_name(np, "interrupt-controller"));) {
typep = (char *)get_property(np, "compatible", NULL);
if (strstr(typep, "open-pic"))
if (strstr(typep, "open-pic")) {
ppc64_interrupt_controller = IC_OPEN_PIC;
else if (strstr(typep, "ppc-xicp"))
break;
} else if (strstr(typep, "ppc-xicp")) {
ppc64_interrupt_controller = IC_PPC_XIC;
else
printk("pSeries_discover_pic: failed to recognize"
" interrupt-controller\n");
break;
break;
}
}
if (ppc64_interrupt_controller == IC_INVALID)
printk("pSeries_discover_pic: failed to recognize"
" interrupt-controller\n");

}

static void pSeries_mach_cpu_die(void)
Expand Down

0 comments on commit 7a8e605

Please sign in to comment.