From mboxrd@z Thu Jan 1 00:00:00 1970 From: sshtylyov@mvista.com (Sergei Shtylyov) Date: Wed, 02 Mar 2011 16:38:46 +0300 Subject: [PATCH v2 10/18] omap3+: sr: call handler with interrupt disabled In-Reply-To: <1299063331-27968-11-git-send-email-nm@ti.com> References: <1299063331-27968-1-git-send-email-nm@ti.com> <1299063331-27968-11-git-send-email-nm@ti.com> Message-ID: <4D6E4866.6070107@ru.mvista.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello. On 02-03-2011 13:55, Nishanth Menon wrote: > Request the handler irq such that there is no nesting for calls. > the notifiers are not expected to be nested, further the interrupt > events for status change should be handled prior to the next event > else there is a risk of loosing events. > Signed-off-by: Nishanth Menon > --- > arch/arm/mach-omap2/smartreflex.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c > index 99e4c4f..a4e9f2d 100644 > --- a/arch/arm/mach-omap2/smartreflex.c > +++ b/arch/arm/mach-omap2/smartreflex.c > @@ -278,7 +278,7 @@ static int sr_late_init(struct omap_sr *sr_info) > goto error; > } > ret = request_irq(sr_info->irq, sr_interrupt, > - 0, name, (void *)sr_info); > + IRQF_DISABLED, name, (void *)sr_info); Isn't this flag a nop now? WBR, Sergei