From 8c4dd799fddc968f851a60acab6f79a917186e57 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Wed, 8 Feb 2006 21:19:37 +0000 Subject: [PATCH] --- yaml --- r: 20128 b: refs/heads/master c: 5964eae835c3b98c69d338950651f7f414f96477 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/kernel/entry-armv.S | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0796bd64b8c1..212bb6bf08d7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 49bca4c2815feafd5f999bf43baf87e0dd8d1d08 +refs/heads/master: 5964eae835c3b98c69d338950651f7f414f96477 diff --git a/trunk/arch/arm/kernel/entry-armv.S b/trunk/arch/arm/kernel/entry-armv.S index f248bbfe745f..964cd717506b 100644 --- a/trunk/arch/arm/kernel/entry-armv.S +++ b/trunk/arch/arm/kernel/entry-armv.S @@ -709,7 +709,12 @@ __kuser_memory_barrier: @ 0xffff0fa0 * The C flag is also set if *ptr was changed to allow for assembly * optimization in the calling code. * - * Note: this routine already includes memory barriers as needed. + * Notes: + * + * - This routine already includes memory barriers as needed. + * + * - A failure might be transient, i.e. it is possible, although unlikely, + * that "failure" be returned even if *ptr == oldval. * * For example, a user space atomic_add implementation could look like this: *