]> git.baikalelectronics.ru Git - kernel.git/commit
arm: add set_handle_irq() to register the parent IRQ controller handler function
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 22:00:53 +0000 (23:00 +0100)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Jan 2013 17:44:38 +0000 (11:44 -0600)
commitd197464b0a5551b22c10bbfe21f1fbe2df38944b
treec6076389bb2727156c649cb345b6cff864336e2d
parent7ad731f38cc0373a3b9ae0405dfaa97dc7272811
arm: add set_handle_irq() to register the parent IRQ controller handler function

In order to allow irqchip drivers to register their IRQ handling
function as the parent IRQ controller handler function, we provide a
convenience function. This will avoid poking directly into the global
handle_arch_irq variable.

Suggested by Arnd Bergmann.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Rob Herring: remove warning. 1st one to initialize wins.]
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Olof Johansson <olof@lixom.net>
arch/arm/include/asm/mach/irq.h
arch/arm/kernel/irq.c