瀏覽代碼

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>
Benjamin Herrenschmidt 17 年之前
父節點
當前提交
f6d107fb10
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      kernel/futex.c

+ 2 - 2
kernel/futex.c

@@ -2158,7 +2158,7 @@ static struct file_system_type futex_fs_type = {
 	.kill_sb	= kill_anon_super,
 	.kill_sb	= kill_anon_super,
 };
 };
 
 
-static int __init init(void)
+static int __init futex_init(void)
 {
 {
 	u32 curval;
 	u32 curval;
 	int i;
 	int i;
@@ -2194,4 +2194,4 @@ static int __init init(void)
 
 
 	return 0;
 	return 0;
 }
 }
-__initcall(init);
+__initcall(futex_init);