lkml.org 
[lkml]   [2007]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND] [PATCH] RTC: assure proper memory ordering with respect to RTC_DEV_BUSY flag (was Re: RTC: convert mutex to bitfield)
On Sun, 2 Dec 2007 23:00:04 +0100 (CET)
Jiri Kosina <jkosina@suse.cz> wrote:

> [ nobody seems to have picked this up, resending. This is a fix for
> commit 8853c202b4 in Linus' tree ]
>
> From: Jiri Kosina <jkosina@suse.cz>
>
> RTC: assure proper memory ordering with respect to RTC_DEV_BUSY flag
>
> We must make sure that the RTC_DEV_BUSY flag has proper lock semantics,
> i.e. that the RTC_DEV_BUSY stores clearing the flag don't get reordered
> before the preceeding stores and loads and vice versa.
>
> Spotted by Nick Piggin.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>

missed it, sorry.


Acked-by: Alessandro Zummo <a.zummo@towertech.it>

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it



\
 
 \ /
  Last update: 2007-12-02 23:19    [W:0.023 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site