lkml.org 
[lkml]   [2004]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.10-rc2 dm.c dm_init unresolved reference to _exits
On Mon, Nov 15, 2004 at 03:36:21PM +1100, Keith Owens wrote:

> ia64 build, gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
>
> drivers/md/dm.c dm_int refers to _exits which is defined as __exitdata.
> With CONFIG_HOTPLUG=n, __exitdata is discarded

Yes - thanks for reminding - thought of that yesterday night
but forgot again the next morning.

diff -uprN -X /linux/dontdiff a/drivers/md/dm.c b/drivers/md/dm.c
--- a/drivers/md/dm.c 2004-11-15 11:44:12.000000000 +0100
+++ b/drivers/md/dm.c 2004-11-15 11:46:35.000000000 +0100
@@ -146,7 +146,7 @@ int (*_inits[])(void) __initdata = {
dm_interface_init,
};

-void (*_exits[])(void) __exitdata = {
+void (*_exits[])(void) = {
local_exit,
dm_target_exit,
dm_linear_exit,
-
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:08    [W:0.048 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site