summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/compressed/head.S
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-08-19 19:07:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-08-22 18:37:51 +0200
commit6a33fa2b87513fee44cb8f0cd17b1acd6316bc6b (patch)
tree18dc3a7448a3db01cd41025bab34ce0317307c55 /arch/s390/boot/compressed/head.S
parentgenirq/affinity: Use get/put_online_cpus around cpumask operations (diff)
downloadlinux-6a33fa2b87513fee44cb8f0cd17b1acd6316bc6b.tar.xz
linux-6a33fa2b87513fee44cb8f0cd17b1acd6316bc6b.zip
irqchip/mips-gic: Cleanup chip and handler setup
gic_shared_irq_domain_map() is called from gic_irq_domain_alloc() where the wrong chip has been set, and is then overwritten. Tidy this up by setting the correct chip the first time, and setting the handle_level_irq handler from gic_irq_domain_alloc() too. gic_shared_irq_domain_map() is also called from gic_irq_domain_map(), which now calls irq_set_chip_and_handler() to retain its previous behaviour. This patch prepares for a follow-on which will call gic_shared_irq_domain_map() from a callback where the lock on the struct irq_desc is held, which without this change would cause the call to irq_set_chip_and_handler() to lead to a deadlock. Fixes: c98c1822ee13 ("irqchip/mips-gic: Add device hierarchy domain") Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/20160819170715.27820-1-paul.burton@imgtec.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/s390/boot/compressed/head.S')
0 files changed, 0 insertions, 0 deletions