[openib-general] [PATCH] kDAPL: change EXPORT_SYMBOL to EXPORT_SYMBOL_GPL

Tom Duffy tduffy at sun.com
Fri May 13 14:04:30 PDT 2005


On Fri, 2005-05-13 at 11:52 -0700, Caitlin Bestler wrote:
> What about kernel clients that are compiled separately from the kernel
> that want to be OS neutral and use kdat.h as published by the DAT
> Collaborative?

Make sure this doesn't happen.

Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: linux-kernel-gpl/dat/api.c
===================================================================
--- linux-kernel-gpl/dat/api.c	(revision 2338)
+++ linux-kernel-gpl/dat/api.c	(working copy)
@@ -619,7 +619,7 @@ u32 dat_ia_openv(const char *name, int a
             name, async_event_qlen, async_event_handle, ia_handle);
 }
 
-EXPORT_SYMBOL(dat_ia_openv);
+EXPORT_SYMBOL_GPL(dat_ia_openv);
 
 /***********************************************************************
  * Function: dat_ia_close
@@ -673,7 +673,7 @@ u32 dat_ia_close(DAT_IA_HANDLE ia_handle
 	return status;
 }
 
-EXPORT_SYMBOL(dat_ia_close);
+EXPORT_SYMBOL_GPL(dat_ia_close);
 
 /***********************************************************************
  * Function: dat_strerror
@@ -706,7 +706,7 @@ u32 dat_strerror(u32 value, const char *
 	return DAT_SUCCESS;
 }
 
-EXPORT_SYMBOL(dat_strerror);
+EXPORT_SYMBOL_GPL(dat_strerror);
 
 /***********************************************************************
  * Function: dat_registry_add_provider
@@ -731,7 +731,7 @@ u32 dat_registry_add_provider(const stru
 	return dat_dr_insert(provider_info, provider->ia_open_func);
 }
 
-EXPORT_SYMBOL(dat_registry_remove_provider);
+EXPORT_SYMBOL_GPL(dat_registry_remove_provider);
 
 /***********************************************************************
  * Function: dat_registry_remove_provider
@@ -750,7 +750,7 @@ u32 dat_registry_remove_provider(const s
 	return dat_dr_remove(provider_info);
 }
 
-EXPORT_SYMBOL(dat_registry_add_provider);
+EXPORT_SYMBOL_GPL(dat_registry_add_provider);
 
 /***********************************************************************
  *  Function: dat_registry_list_providers
@@ -787,4 +787,4 @@ u32 dat_registry_list_providers(int max_
 	return status;
 }
 
-EXPORT_SYMBOL(dat_registry_list_providers);
+EXPORT_SYMBOL_GPL(dat_registry_list_providers);




More information about the general mailing list