X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=ipc%2Futil.c;h=862621980b01919ff7fee486a36f342aff33d2d0;hb=3f02d072d46bb409e8ca3cf16c0511f5c21adaf6;hp=10e836d0d89e86fb36de703364a0afdeb0f21c7e;hpb=64e47488c913ac704d465a6af86a26786d1412a5;p=karo-tx-linux.git diff --git a/ipc/util.c b/ipc/util.c index 10e836d0d89e..862621980b01 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -7,7 +7,7 @@ * Occurs in several places in the IPC code. * Chris Evans, * Nov 1999 - ipc helper functions, unified SMP locking - * Manfred Spraul + * Manfred Spraul * Oct 2002 - One lock per IPC id. RCU ipc_free for lock-free grow_ary(). * Mingming Cao */ @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -410,7 +411,8 @@ void ipc_rcu_getref(void *ptr) } /** - * ipc_schedule_free - free ipc + rcu space + * ipc_schedule_free - free ipc + rcu space + * @head: RCU callback structure for queued work * * Since RCU callback function is called in bh, * we need to defer the vfree to schedule_work @@ -427,10 +429,10 @@ static void ipc_schedule_free(struct rcu_head *head) } /** - * ipc_immediate_free - free ipc + rcu space - * - * Free from the RCU callback context + * ipc_immediate_free - free ipc + rcu space + * @head: RCU callback structure that contains pointer to be freed * + * Free from the RCU callback context */ static void ipc_immediate_free(struct rcu_head *head) {