* [PATCH] __init in cfq-iosched.c
@ 2005-02-26 13:07 Andries Brouwer
0 siblings, 0 replies; only message in thread
From: Andries Brouwer @ 2005-02-26 13:07 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
cfq_init() calls __init cfq_slab_setup and hence must be __init itself
also made it static
Andries
diff -uprN -X /linux/dontdiff a/drivers/block/cfq-iosched.c b/drivers/block/cfq-iosched.c
--- a/drivers/block/cfq-iosched.c 2005-02-26 12:13:29.000000000 +0100
+++ b/drivers/block/cfq-iosched.c 2005-02-26 14:18:00.000000000 +0100
@@ -1819,7 +1819,7 @@ static struct elevator_type iosched_cfq
.elevator_owner = THIS_MODULE,
};
-int cfq_init(void)
+static int __init cfq_init(void)
{
int ret;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-26 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26 13:07 [PATCH] __init in cfq-iosched.c Andries Brouwer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox