X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fproportions.c;h=d50746a79de2a846187137a2ffb11993c23127e8;hb=a33a052f19a21d727847391c8c1aff3fb221c472;hp=7367f2b727d0547df5131b3419bb485534e214b2;hpb=ea319518ba3de282c13ae1cf4bf2215c5e03e67e;p=pandora-kernel.git diff --git a/lib/proportions.c b/lib/proportions.c index 7367f2b727d0..d50746a79de2 100644 --- a/lib/proportions.c +++ b/lib/proportions.c @@ -147,6 +147,7 @@ out: * this is used to track the active references. */ static struct prop_global *prop_get_global(struct prop_descriptor *pd) +__acquires(RCU) { int index; @@ -160,6 +161,7 @@ static struct prop_global *prop_get_global(struct prop_descriptor *pd) } static void prop_put_global(struct prop_descriptor *pd, struct prop_global *pg) +__releases(RCU) { rcu_read_unlock(); }