aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 01:05:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:51 -0400
commit6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (patch)
tree7e0afaf0f5cf404623a3c9c3387dc43421e65bb3 /ipc
parentc9f66169f1c696f9489503d7de92daff135c1efd (diff)
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)
504 return semzcnt; 504 return semzcnt;
505} 505}
506 506
507void free_un(struct rcu_head *head) 507static void free_un(struct rcu_head *head)
508{ 508{
509 struct sem_undo *un = container_of(head, struct sem_undo, rcu); 509 struct sem_undo *un = container_of(head, struct sem_undo, rcu);
510 kfree(un); 510 kfree(un);