[PATCH] trivial patch to kcopyd.c

From: Dave Olien
Date: Tue Apr 27 2004 - 20:43:04 EST



this adds __init to jobs_init(), and __exit to kcopyd_exit().


diff -ur linux-2.6.6-rc2-udm1-original/drivers/md/kcopyd.c linux-2.6.6-rc2-udm1-patched/drivers/md/kcopyd.c
--- linux-2.6.6-rc2-udm1-original/drivers/md/kcopyd.c 2004-04-27 18:37:27.000000000 -0700
+++ linux-2.6.6-rc2-udm1-patched/drivers/md/kcopyd.c 2004-04-27 18:42:45.000000000 -0700
@@ -218,7 +218,7 @@
static LIST_HEAD(_io_jobs);
static LIST_HEAD(_pages_jobs);

-static int jobs_init(void)
+static int __init jobs_init(void)
{
INIT_LIST_HEAD(&_complete_jobs);
INIT_LIST_HEAD(&_io_jobs);
@@ -655,7 +655,7 @@
return 0;
}

-void kcopyd_exit(void)
+void __exit kcopyd_exit(void)
{
jobs_exit();
destroy_workqueue(_kcopyd_wq);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/