lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] trivial patch to kcopyd.c

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.032 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site