public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Give futex init a proper name
@ 2008-03-27  3:52 Benjamin Herrenschmidt
  2008-03-27  4:00 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2008-03-27  3:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Linus Torvalds

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>
---

 kernel/futex.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-work.orig/kernel/futex.c	2008-03-27 14:50:11.000000000 +1100
+++ linux-work/kernel/futex.c	2008-03-27 14:50:20.000000000 +1100
@@ -2158,7 +2158,7 @@ static struct file_system_type futex_fs_
 	.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);

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <abRrB-4uZ-1@gated-at.bofh.it>]

end of thread, other threads:[~2008-03-27 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27  3:52 [PATCH] Give futex init a proper name Benjamin Herrenschmidt
2008-03-27  4:00 ` Andrew Morton
2008-03-27  4:53   ` Benjamin Herrenschmidt
2008-03-27  8:12   ` [PATCH] init()/fini() clean up in the crypto Kamalesh Babulal
     [not found] <abRrB-4uZ-1@gated-at.bofh.it>
     [not found] ` <abRBc-53a-9@gated-at.bofh.it>
     [not found]   ` <abVvc-4cT-5@gated-at.bofh.it>
2008-03-27 14:40     ` Bodo Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox