powerpc: Fix irq_alloc_host() reference counting and callers
When I changed irq_alloc_host() to take an of_node (52964f87: "Add an optional device_node pointer to the irq_host"), I botched the reference counting semantics. Stephen pointed out that it's irq_alloc_host()'s business if it needs to take an additional reference to the device_node, the caller shouldn't need to care. Signed-off-by:Michael Ellerman <michael@ellerman.id.au> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/kernel/irq.c 1 addition, 1 deletionarch/powerpc/kernel/irq.c
- arch/powerpc/platforms/cell/axon_msi.c 1 addition, 1 deletionarch/powerpc/platforms/cell/axon_msi.c
- arch/powerpc/platforms/cell/spider-pic.c 1 addition, 1 deletionarch/powerpc/platforms/cell/spider-pic.c
- arch/powerpc/sysdev/cpm1.c 1 addition, 1 deletionarch/powerpc/sysdev/cpm1.c
- arch/powerpc/sysdev/cpm2_pic.c 1 addition, 1 deletionarch/powerpc/sysdev/cpm2_pic.c
- arch/powerpc/sysdev/i8259.c 1 addition, 1 deletionarch/powerpc/sysdev/i8259.c
- arch/powerpc/sysdev/ipic.c 2 additions, 4 deletionsarch/powerpc/sysdev/ipic.c
- arch/powerpc/sysdev/mpic.c 2 additions, 4 deletionsarch/powerpc/sysdev/mpic.c
- arch/powerpc/sysdev/qe_lib/qe_ic.c 2 additions, 4 deletionsarch/powerpc/sysdev/qe_lib/qe_ic.c
- arch/powerpc/sysdev/tsi108_pci.c 1 addition, 2 deletionsarch/powerpc/sysdev/tsi108_pci.c
- arch/powerpc/sysdev/uic.c 2 additions, 4 deletionsarch/powerpc/sysdev/uic.c
Loading
Please register or sign in to comment