From: Jiri Kosina Date: Wed, 5 Dec 2007 07:45:05 +0000 (-0800) Subject: RTC: assure proper memory ordering with respect to RTC_DEV_BUSY flag X-Git-Tag: v2.6.24-rc5~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372a302e9a892229206aafca0352584a745bc5f3;p=pandora-kernel.git 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 Cc: Nick Piggin Cc: David Brownell Acked-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed