1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Fix missing offset.

This commit is contained in:
Nathan Whitehorn 2014-02-02 05:52:34 +00:00
parent 2b5bab93fb
commit f18ac51a90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261398

View File

@ -501,7 +501,8 @@ fdt_intr_to_rl(device_t dev, phandle_t node, struct resource_list *rl,
icells = 1;
}
for (i = 0, k = 0; i < nintr; i += icells, k++) {
intr[i] = ofw_bus_map_intr(dev, iparent, icells, intr);
intr[i] = ofw_bus_map_intr(dev, iparent, icells,
&intr[i]);
resource_list_add(rl, SYS_RES_IRQ, k, intr[i], intr[i],
1);
}