lkml.org 
[lkml]   [2009]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rtc-linux] Re: [PATCH] rtc: Make rtc_update_irq callable with irqs enabled
On Thu, 23 Apr 2009 12:25:01 -0700
David Brownell <david-b@pacbell.net> 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



\
 
 \ /
  Last update: 2009-04-23 21:29    [W:0.086 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site