[PATCH] Using I2O modules with I2O core in kernel (follow up)

Michael Mueller (malware@t-online.de)
Tue, 13 Mar 2001 08:05:05 +0100


This is a multi-part message in MIME format.
--------------B926FB299FBD6D5D90036743
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Alan and folks,

I wrote:
> the EXPORT_SYMBOL within the original source module. This was only done
> for the case it would have been compiled as kernel module. The patch is
> appended.

And again the mysterous lklm problem appeared and I forgot to append the
actual patch. Btw. the problem does exists through all the current
version of the 2.2 and 2.4 kernel line. The patch should apply cleanly
to all but the ac series where the sources were moved within the tree.

Michael
--------------B926FB299FBD6D5D90036743
Content-Type: text/plain; charset=us-ascii;
name="i2o-2.4.2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="i2o-2.4.2.patch"

--- linux-2.4.2/drivers/i2o/i2o_core.c.orig Thu Feb 22 18:09:49 2001
+++ linux/drivers/i2o/i2o_core.c Tue Mar 13 07:41:04 2001
@@ -3113,8 +3113,6 @@
}


-#ifdef MODULE
-
EXPORT_SYMBOL(i2o_controller_chain);
EXPORT_SYMBOL(i2o_num_controllers);
EXPORT_SYMBOL(i2o_find_controller);
@@ -3146,6 +3144,8 @@
EXPORT_SYMBOL(i2o_dump_message);

EXPORT_SYMBOL(i2o_get_class_name);
+
+#ifdef MODULE

MODULE_AUTHOR("Red Hat Software");
MODULE_DESCRIPTION("I2O Core");

--------------B926FB299FBD6D5D90036743--

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