From 0e9a76b0052ac88584d985be2e5bf36909803ab3 Mon Sep 17 00:00:00 2001 From: Joe Stringer Date: Fri, 20 Dec 2013 12:52:52 -0800 Subject: [PATCH] compiler.h: Update documentation OVS_LOCKS_EXCLUDED doesn't exist. This should be OVS_EXCLUDED. Signed-off-by: Joe Stringer Signed-off-by: Ben Pfaff --- lib/compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/compiler.h b/lib/compiler.h index daca32dd7..e867d72f2 100644 --- a/lib/compiler.h +++ b/lib/compiler.h @@ -96,8 +96,8 @@ * - OVS_REQUIRES(MUTEX) indicate that the function may only be called with * MUTEX held and that the function does not release MUTEX. * - * - OVS_LOCKS_EXCLUDED(MUTEX) indicates that the function may only be - * called when MUTEX is not held. + * - OVS_EXCLUDED(MUTEX) indicates that the function may only be called when + * MUTEX is not held. * * * The following variants, with the same syntax, apply to reader-writer locks: @@ -108,7 +108,7 @@ * OVS_RELEASES OVS_RELEASES OVS_RELEASES * OVS_TRY_LOCK OVS_TRY_RDLOCK OVS_TRY_WRLOCK * OVS_REQUIRES OVS_REQ_RDLOCK OVS_REQ_WRLOCK - * OVS_LOCKS_EXCLUDED OVS_LOCKS_EXCLUDED OVS_LOCKS_EXCLUDED + * OVS_EXCLUDED OVS_EXCLUDED OVS_EXCLUDED */ #define OVS_LOCKABLE __attribute__((lockable)) #define OVS_REQ_RDLOCK(...) __attribute__((shared_locks_required(__VA_ARGS__))) -- 2.43.0