summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 07:05:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 20:21:51 +0200
commit6d97e2345a03bcf15471fc7e93560fc71e0c11d8 (patch)
tree7e0afaf0f5cf404623a3c9c3387dc43421e65bb3
parentresource: add resource_type() and IORESOURCE_TYPE_BITS (diff)
downloadlinux-6d97e2345a03bcf15471fc7e93560fc71e0c11d8.tar.xz
linux-6d97e2345a03bcf15471fc7e93560fc71e0c11d8.zip
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>
-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);