Messages in this thread | | | Date | Sun, 2 Dec 2007 23:13:22 +0100 | From | Alessandro Zummo <> | Subject | Re: [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
| |