summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-15 22:05:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:51 -0700
commit6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (patch)
tree7e0afaf0f5cf404623a3c9c3387dc43421e65bb3 /ipc
parentc9f66169f1c696f9489503d7de92daff135c1efd (diff)
downloadlinux-6d97e2345a03bcf15471fc7e93560fc71e0c11d8.tar.bz2
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);