summary refs log tree commit diff stats
path: root/net/socket.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2017-10-20 09:38:52 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2017-11-08 13:21:37 +1100
commitc91c187f715aded9e1ac28412bba41fd3cbaf010 (patch)
treef2e27e9de26a6dea081b34477c9654dee5fc3390 /net/socket.c
parent79b217dedb5ce70c5bc169b5e64b8a1f0d4bef9c (diff)
downloadfocaccia-qemu-c91c187f715aded9e1ac28412bba41fd3cbaf010.tar.gz
focaccia-qemu-c91c187f715aded9e1ac28412bba41fd3cbaf010.zip
e500: ppce500_init_mpic() return device instead of IRQ array
Actual number of interrupt pins isn't known
in ppce500_init_mpic() so a hardcoded number
was used, which causes a crash with older openpic.

Instead, return the DeviceState* and change ppce500_init()
to call qdev_get_gpio_in() to get only the irq pins
which are needed.

Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions