summaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@ozlabs.org>2008-03-27 06:52:15 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-27 18:02:13 +0300
commitf6d107fb10def502522b10bfb7af9533afbb8274 (patch)
tree7fcf68e80a964a71b642d2bc1886c8060ae78fd3 /kernel/futex.c
parentee20a0dd5400e771ff93eb7f2bcc731eab1f377e (diff)
downloadlinux-f6d107fb10def502522b10bfb7af9533afbb8274.tar.xz
Give futex init a proper name
The futex init function is called init(). This is a pain in the neck when debugging when you code dies in ... init :-) This renames it to futex_init(). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index 06968cd79200..87a6428cb5b6 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2158,7 +2158,7 @@ static struct file_system_type futex_fs_type = {
.kill_sb = kill_anon_super,
};
-static int __init init(void)
+static int __init futex_init(void)
{
u32 curval;
int i;
@@ -2194,4 +2194,4 @@ static int __init init(void)
return 0;
}
-__initcall(init);
+__initcall(futex_init);