kernel_optimize_test/kernel/irq
Rob Herring eef24afb28 irq: Fix check for already initialized irq_domain in irq_domain_add
The sanity check in irq_domain_add() tests desc->irq_data != NULL or
irq_data->domain != NULL. This prevents adding an irq_domain to a irq
descriptor when irq_data exists, which true when the irq descriptor
exists.

This went unnoticed so far as the simple domain code did not enter
this code path because domain->nr_irqs is always 0 for the simple domains.

Split the check for irq_data == NULL out and have a separate warning
for it.

[ tglx: Made the check for irq_data == NULL separate ]

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: marc.zyngier@arm.com
Cc: thomas.abraham@linaro.org
Cc: jamie@jamieiles.com
Cc: b-cousson@ti.com
Cc: shawn.guo@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree-discuss@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1316017900-19918-3-git-send-email-robherring2@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-09-20 12:16:22 +02:00
..
autoprobe.c
chip.c genirq: Make irq_shutdown() symmetric vs. irq_startup again 2011-09-12 09:38:53 +02:00
debug.h
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h
irqdesc.c irqdesc: fix new kernel-doc warning 2011-08-18 14:12:48 -07:00
irqdomain.c irq: Fix check for already initialized irq_domain in irq_domain_add 2011-09-20 12:16:22 +02:00
Kconfig
Makefile
manage.c Revert "irq: Always set IRQF_ONESHOT if no primary handler is specified" 2011-08-23 10:36:51 -07:00
migration.c
pm.c
proc.c
resend.c
settings.h
spurious.c