]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: allow variant to initialize own irq chips
authorDaniel Glöckner <dg@emlix.com>
Tue, 5 May 2009 15:03:21 +0000 (15:03 +0000)
committerChris Zankel <chris@zankel.net>
Mon, 22 Jun 2009 09:36:59 +0000 (02:36 -0700)
commit94af325280786b6243bf6e9432280d06e54f7395
tree70d487aa10f673ac1f65ca510c50035675dffae2
parent119a6c4943ce3dc609b9a1cad40ff5077b410432
xtensa: allow variant to initialize own irq chips

There was already a PLATFORM_NR_IRQS define, which is now accompanied
by a VARIANT_NR_IRQS. To be able to initialize these interrupts,
init_IRQ now calls a variant specific hook.

Changes compared to v1:
- adapted to new CONFIG_VARIANT_IRQ_EXT
- removed definition and call of platform_init_IRQ as there already
  is a platform_init_irq defined in asm/platform.h with a weak default
  in kernel/platform.c
- renamed variant_init_IRQ to variant_init_irq

Note that I could not find the call site of platform_init_irq although
it is stated in platform.h that it is called from init_IRQ.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/irq.h
arch/xtensa/kernel/irq.c