summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 09:05:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 22:21:51 +0400
commit6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (patch)
tree7e0afaf0f5cf404623a3c9c3387dc43421e65bb3 /ipc
parentc9f66169f1c696f9489503d7de92daff135c1efd (diff)
downloadlinux-6d97e2345a03bcf15471fc7e93560fc71e0c11d8.tar.xz
ipc/sem.c: make free_un() static
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/sem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/sem.c b/ipc/sem.c
index bf1bc36cb7ee..082122469b17 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -504,7 +504,7 @@ static int count_semzcnt (struct sem_array * sma, ushort semnum)
return semzcnt;
}
-void free_un(struct rcu_head *head)
+static void free_un(struct rcu_head *head)
{
struct sem_undo *un = container_of(head, struct sem_undo, rcu);
kfree(un);