Re: [rtc-linux] Re: [PATCH] rtc: Make rtc_update_irq callable withirqs enabled

From: Alessandro Zummo
Date: Thu Apr 23 2009 - 15:27:00 EST


On Thu, 23 Apr 2009 12:25:01 -0700
David Brownell <david-b@xxxxxxxxxxx> wrote:

> > but why rtc_update_irq should disable the IRQs? I believe
> > it can work just fine with IRQs enabled.
>
> The last patch I saw was just changing from "caller must
> disable them" to "rtc_update_irq() disables them".
>
> If you're talking about a different patch, please forward...

no patch, just theory.

the question is, do we need IRQs disabled when
calling rtc_update_irq?

and if yes, why? to prevent what?

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/