2006-01-31 23:04:32

by Patrick Gefre

[permalink] [raw]
Subject: [PATCH] 2.6 Altix : correct export call

Andrew,

I didn't get any resistence to this - so guessing these are the correct
macro calls...



Call EXPORT_SYMBOL_GPL in ioc3 shim layer.


Signed-off-by: Patrick Gefre <[email protected]>


ioc3.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)


Index: linux/drivers/sn/ioc3.c
===================================================================
--- linux.orig/drivers/sn/ioc3.c 2006-01-26 10:46:30.201721192 -0600
+++ linux/drivers/sn/ioc3.c 2006-01-26 11:53:34.685090381 -0600
@@ -843,9 +843,9 @@
MODULE_DESCRIPTION("PCI driver for SGI IOC3");
MODULE_LICENSE("GPL");

-EXPORT_SYMBOL(ioc3_register_submodule);
-EXPORT_SYMBOL(ioc3_unregister_submodule);
-EXPORT_SYMBOL(ioc3_ack);
-EXPORT_SYMBOL(ioc3_gpcr_set);
-EXPORT_SYMBOL(ioc3_disable);
-EXPORT_SYMBOL(ioc3_enable);
+EXPORT_SYMBOL_GPL(ioc3_register_submodule);
+EXPORT_SYMBOL_GPL(ioc3_unregister_submodule);
+EXPORT_SYMBOL_GPL(ioc3_ack);
+EXPORT_SYMBOL_GPL(ioc3_gpcr_set);
+EXPORT_SYMBOL_GPL(ioc3_disable);
+EXPORT_SYMBOL_GPL(ioc3_enable);


2006-01-31 23:07:21

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] 2.6 Altix : correct export call

On Tue, 31 Jan 2006, Pat Gefre wrote:

> Andrew,
>
> I didn't get any resistence to this - so guessing these are the correct
> macro calls...
>
>
>
> Call EXPORT_SYMBOL_GPL in ioc3 shim layer.

only resistence to "Call". Try "Use".


> Signed-off-by: Patrick Gefre <[email protected]>
>
>
> ioc3.c | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
>
>
> Index: linux/drivers/sn/ioc3.c
> ===================================================================
> --- linux.orig/drivers/sn/ioc3.c 2006-01-26 10:46:30.201721192 -0600
> +++ linux/drivers/sn/ioc3.c 2006-01-26 11:53:34.685090381 -0600
> @@ -843,9 +843,9 @@
> MODULE_DESCRIPTION("PCI driver for SGI IOC3");
> MODULE_LICENSE("GPL");
>
> -EXPORT_SYMBOL(ioc3_register_submodule);
> -EXPORT_SYMBOL(ioc3_unregister_submodule);
> -EXPORT_SYMBOL(ioc3_ack);
> -EXPORT_SYMBOL(ioc3_gpcr_set);
> -EXPORT_SYMBOL(ioc3_disable);
> -EXPORT_SYMBOL(ioc3_enable);
> +EXPORT_SYMBOL_GPL(ioc3_register_submodule);
> +EXPORT_SYMBOL_GPL(ioc3_unregister_submodule);
> +EXPORT_SYMBOL_GPL(ioc3_ack);
> +EXPORT_SYMBOL_GPL(ioc3_gpcr_set);
> +EXPORT_SYMBOL_GPL(ioc3_disable);
> +EXPORT_SYMBOL_GPL(ioc3_enable);
> -

--
~Randy