diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-12-05 08:45:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-05 18:21:18 +0100 |
commit | 372a302e9a892229206aafca0352584a745bc5f3 (patch) | |
tree | 14cf4e06735d8dd9284e843f36a5abcfcc4cc476 /include/asm-ppc/ppc_sys.h | |
parent | fix clone(CLONE_NEWPID) (diff) | |
download | linux-372a302e9a892229206aafca0352584a745bc5f3.tar.xz linux-372a302e9a892229206aafca0352584a745bc5f3.zip |
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>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ppc/ppc_sys.h')
0 files changed, 0 insertions, 0 deletions