Skip to content

Commit

Permalink
Give futex init a proper name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Mar 27, 2008
1 parent ee20a0d commit f6d107f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -2194,4 +2194,4 @@ static int __init init(void)

return 0;
}
__initcall(init);
__initcall(futex_init);

0 comments on commit f6d107f

Please sign in to comment.