summaryrefslogtreecommitdiffstats
path: root/core/interrupts.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-07 21:18:47 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-12 20:16:04 +1000
commita5011282403ebbc58779eb032c7588aba2e58805 (patch)
treef20b59fc11efdb296f66d3071d2e8b04f9a3f10b /core/interrupts.c
parent052d7b967ed451d232c02e1cabce8d89ae3266fe (diff)
downloadtalos-skiboot-a5011282403ebbc58779eb032c7588aba2e58805.tar.gz
talos-skiboot-a5011282403ebbc58779eb032c7588aba2e58805.zip
interrupts: Use a #interrupt-cells of 2 for XICS interrupts
This is more compliant with PAPR, it will also allow us to use the second cell for other attributes on P9. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/interrupts.c')
-rw-r--r--core/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/interrupts.c b/core/interrupts.c
index db39267b..7109fae0 100644
--- a/core/interrupts.c
+++ b/core/interrupts.c
@@ -143,7 +143,7 @@ struct dt_node *add_ics_node(void)
dt_add_property_strings(ics, "compatible", "IBM,ppc-xics",
"IBM,opal-xics");
dt_add_property_cells(ics, "#address-cells", 0);
- dt_add_property_cells(ics, "#interrupt-cells", 1);
+ dt_add_property_cells(ics, "#interrupt-cells", 2);
dt_add_property_string(ics, "device_type",
"PowerPC-Interrupt-Source-Controller");
dt_add_property(ics, "interrupt-controller", NULL, 0);
OpenPOWER on IntegriCloud