linux-mips
[Top] [All Lists]

Re: Is _do_IRQ() not needed anymore ?

To: vagabon.xyz@gmail.com
Subject: Re: Is _do_IRQ() not needed anymore ?
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 01 Dec 2006 18:57:40 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <cda58cb80612010140y5a95faceybffedbd4dd9900db@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80612010140y5a95faceybffedbd4dd9900db@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 1 Dec 2006 10:40:52 +0100, "Franck Bui-Huu" <vagabon.xyz@gmail.com> 
wrote:
> Now it seems that __do_IRQ() is not needed anymore. I dunno if it's
> true for all platforms though. Does something like this make sense for
> example ?
> 
> -- >8 --
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 5ff94e5..a4c5306 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -913,8 +913,13 @@ config SYS_SUPPORTS_BIG_ENDIAN
>  config SYS_SUPPORTS_LITTLE_ENDIAN
>       bool
> 
> +config GENERIC_HARDIRQS_NO__DO_IRQ
> +     bool
> +     default n
> +

No, there are irq chips still need __do_IRQ().  Please grep
'set_irq_chip('.

If _all_ irq chip were converted to use flow handler,
GENERIC_HARDIRQS_NO__DO_IRQ will be good.  But we have i8259...

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>