On 12/1/06, Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
On Fri, 1 Dec 2006 11:06:44 +0100, "Franck Bui-Huu" <vagabon.xyz@xxxxxxxxx> wrote: > > If _all_ irq chip were converted to use flow handler, > > GENERIC_HARDIRQS_NO__DO_IRQ will be good. But we have i8259... > > That's why in my example I made GENERIC_HARDIRQS_NO__DO_IRQ config > default to 'n' and selected by a irq chip that doens't use __do_IRQ() > anymore, well I think... You can use both irq_cpu and i8259 same time. :)
ok bad example. Why not making the select thing part of the platform config like this ? diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 5ff94e5..8565533 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -233,6 +233,7 @@ config LASAT select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL select SYS_SUPPORTS_LITTLE_ENDIAN + select GENERIC_HARDIRQS_NO__DO_IRQ config MIPS_ATLAS bool "MIPS Atlas board" @@ -913,6 +914,10 @@ config SYS_SUPPORTS_BIG_ENDIAN config SYS_SUPPORTS_LITTLE_ENDIAN bool +config GENERIC_HARDIRQS_NO__DO_IRQ + bool + default n + config IRQ_CPU bool -- Franck