Module: xenomai-3
Branch: master
Commit: f59c59b688d7ee9b5ee033092f71f2968ab169b2
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f59c59b688d7ee9b5ee033092f71f2968ab169b2

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Nov 11 18:18:59 2014 +0100

rtnet: EXPORT_SYMBOL -> EXPORT_SYMBOL_GPL

---

 kernel/drivers/net/stack/eth.c              |    4 ++--
 kernel/drivers/net/stack/iovec.c            |    4 ++--
 kernel/drivers/net/stack/ipv4/af_inet.c     |    4 ++--
 kernel/drivers/net/stack/ipv4/ip_fragment.c |    2 +-
 kernel/drivers/net/stack/ipv4/ip_input.c    |    2 +-
 kernel/drivers/net/stack/ipv4/ip_output.c   |    2 +-
 kernel/drivers/net/stack/ipv4/ip_sock.c     |    2 +-
 kernel/drivers/net/stack/ipv4/protocol.c    |    6 +++---
 kernel/drivers/net/stack/ipv4/route.c       |    8 ++++----
 kernel/drivers/net/stack/packet/af_packet.c |    2 +-
 kernel/drivers/net/stack/rtdev.c            |   28 +++++++++++++--------------
 kernel/drivers/net/stack/rtdev_mgr.c        |    8 ++++----
 kernel/drivers/net/stack/rtmac/rtmac_syms.c |   12 ++++++------
 kernel/drivers/net/stack/rtnet_chrdev.c     |    4 ++--
 kernel/drivers/net/stack/rtnet_module.c     |    8 ++++----
 kernel/drivers/net/stack/rtnet_rtpc.c       |    6 +++---
 kernel/drivers/net/stack/rtskb.c            |   26 ++++++++++++-------------
 kernel/drivers/net/stack/rtwlan.c           |    6 +++---
 kernel/drivers/net/stack/socket.c           |   10 +++++-----
 kernel/drivers/net/stack/stack_mgr.c        |   10 +++++-----
 20 files changed, 77 insertions(+), 77 deletions(-)

diff --git a/kernel/drivers/net/stack/eth.c b/kernel/drivers/net/stack/eth.c
index 88f644d..82a3aba 100644
--- a/kernel/drivers/net/stack/eth.c
+++ b/kernel/drivers/net/stack/eth.c
@@ -137,5 +137,5 @@ unsigned short rt_eth_type_trans(struct rtskb *skb, struct 
rtnet_device *rtdev)
 }
 
 
-EXPORT_SYMBOL(rt_eth_header);
-EXPORT_SYMBOL(rt_eth_type_trans);
+EXPORT_SYMBOL_GPL(rt_eth_header);
+EXPORT_SYMBOL_GPL(rt_eth_type_trans);
diff --git a/kernel/drivers/net/stack/iovec.c b/kernel/drivers/net/stack/iovec.c
index 7d8835e..24efa87 100644
--- a/kernel/drivers/net/stack/iovec.c
+++ b/kernel/drivers/net/stack/iovec.c
@@ -73,5 +73,5 @@ void rt_memcpy_fromkerneliovec(unsigned char *kdata, struct 
iovec *iov,int len)
 }
 
 
-EXPORT_SYMBOL(rt_memcpy_tokerneliovec);
-EXPORT_SYMBOL(rt_memcpy_fromkerneliovec);
+EXPORT_SYMBOL_GPL(rt_memcpy_tokerneliovec);
+EXPORT_SYMBOL_GPL(rt_memcpy_fromkerneliovec);
diff --git a/kernel/drivers/net/stack/ipv4/af_inet.c 
b/kernel/drivers/net/stack/ipv4/af_inet.c
index 77c43b2..cd96f49 100644
--- a/kernel/drivers/net/stack/ipv4/af_inet.c
+++ b/kernel/drivers/net/stack/ipv4/af_inet.c
@@ -45,7 +45,7 @@ struct route_solicit_params {
 
 #ifdef CONFIG_PROC_FS
 struct proc_dir_entry *ipv4_proc_root;
-EXPORT_SYMBOL(ipv4_proc_root);
+EXPORT_SYMBOL_GPL(ipv4_proc_root);
 #endif
 
 
@@ -360,4 +360,4 @@ module_init(rt_ipv4_proto_init);
 module_exit(rt_ipv4_proto_release);
 
 
-EXPORT_SYMBOL(rt_inet_aton);
+EXPORT_SYMBOL_GPL(rt_inet_aton);
diff --git a/kernel/drivers/net/stack/ipv4/ip_fragment.c 
b/kernel/drivers/net/stack/ipv4/ip_fragment.c
index ca0696b..0f5efe4 100644
--- a/kernel/drivers/net/stack/ipv4/ip_fragment.c
+++ b/kernel/drivers/net/stack/ipv4/ip_fragment.c
@@ -229,7 +229,7 @@ void rt_ip_frag_invalidate_socket(struct rtsocket *sock)
         rtdm_lock_put_irqrestore(&p_coll->frags.lock, context);
     }
 }
-EXPORT_SYMBOL(rt_ip_frag_invalidate_socket);
+EXPORT_SYMBOL_GPL(rt_ip_frag_invalidate_socket);
 
 
 
diff --git a/kernel/drivers/net/stack/ipv4/ip_input.c 
b/kernel/drivers/net/stack/ipv4/ip_input.c
index e2b019d..3f6a062 100644
--- a/kernel/drivers/net/stack/ipv4/ip_input.c
+++ b/kernel/drivers/net/stack/ipv4/ip_input.c
@@ -35,7 +35,7 @@
 #include <ipv4/ip_input.h>
 
 rt_ip_fallback_handler_t rt_ip_fallback_handler = NULL;
-EXPORT_SYMBOL(rt_ip_fallback_handler);
+EXPORT_SYMBOL_GPL(rt_ip_fallback_handler);
 #endif /* CONFIG_XENO_DRIVERS_NET_ADDON_PROXY */
 
 
diff --git a/kernel/drivers/net/stack/ipv4/ip_output.c 
b/kernel/drivers/net/stack/ipv4/ip_output.c
index cc47275..996aae5 100644
--- a/kernel/drivers/net/stack/ipv4/ip_output.c
+++ b/kernel/drivers/net/stack/ipv4/ip_output.c
@@ -245,7 +245,7 @@ int rt_ip_build_xmit(struct rtsocket *sk,
     kfree_rtskb(skb);
     return err;
 }
-EXPORT_SYMBOL(rt_ip_build_xmit);
+EXPORT_SYMBOL_GPL(rt_ip_build_xmit);
 
 
 
diff --git a/kernel/drivers/net/stack/ipv4/ip_sock.c 
b/kernel/drivers/net/stack/ipv4/ip_sock.c
index e336693..20f27fe 100644
--- a/kernel/drivers/net/stack/ipv4/ip_sock.c
+++ b/kernel/drivers/net/stack/ipv4/ip_sock.c
@@ -151,4 +151,4 @@ int rt_ip_ioctl(struct rtdm_fd *fd, int request, void *arg)
            return rt_socket_if_ioctl(fd, request, arg);
     }
 }
-EXPORT_SYMBOL(rt_ip_ioctl);
+EXPORT_SYMBOL_GPL(rt_ip_ioctl);
diff --git a/kernel/drivers/net/stack/ipv4/protocol.c 
b/kernel/drivers/net/stack/ipv4/protocol.c
index 7a9cee2..b5944fd 100644
--- a/kernel/drivers/net/stack/ipv4/protocol.c
+++ b/kernel/drivers/net/stack/ipv4/protocol.c
@@ -43,7 +43,7 @@ void rt_inet_add_protocol(struct rtinet_protocol *prot)
     if ( rt_inet_protocols[hash]==NULL )
        rt_inet_protocols[hash] = prot;
 }
-EXPORT_SYMBOL(rt_inet_add_protocol);
+EXPORT_SYMBOL_GPL(rt_inet_add_protocol);
 
 
 /***
@@ -57,7 +57,7 @@ void rt_inet_del_protocol(struct rtinet_protocol *prot)
     if ( prot==rt_inet_protocols[hash] )
        rt_inet_protocols[hash] = NULL;
 }
-EXPORT_SYMBOL(rt_inet_del_protocol);
+EXPORT_SYMBOL_GPL(rt_inet_del_protocol);
 
 
 
@@ -92,4 +92,4 @@ int rt_inet_socket(struct rtdm_fd *fd, int protocol)
        return -ENOPROTOOPT;
     }
 }
-EXPORT_SYMBOL(rt_inet_socket);
+EXPORT_SYMBOL_GPL(rt_inet_socket);
diff --git a/kernel/drivers/net/stack/ipv4/route.c 
b/kernel/drivers/net/stack/ipv4/route.c
index 1d93489..b99c12d 100644
--- a/kernel/drivers/net/stack/ipv4/route.c
+++ b/kernel/drivers/net/stack/ipv4/route.c
@@ -887,7 +887,7 @@ void rt_ip_routing_release(void)
 }
 
 
-EXPORT_SYMBOL(rt_ip_route_add_host);
-EXPORT_SYMBOL(rt_ip_route_del_host);
-EXPORT_SYMBOL(rt_ip_route_del_all);
-EXPORT_SYMBOL(rt_ip_route_output);
+EXPORT_SYMBOL_GPL(rt_ip_route_add_host);
+EXPORT_SYMBOL_GPL(rt_ip_route_del_host);
+EXPORT_SYMBOL_GPL(rt_ip_route_del_all);
+EXPORT_SYMBOL_GPL(rt_ip_route_output);
diff --git a/kernel/drivers/net/stack/packet/af_packet.c 
b/kernel/drivers/net/stack/packet/af_packet.c
index 6cb4543..1fcb05d 100644
--- a/kernel/drivers/net/stack/packet/af_packet.c
+++ b/kernel/drivers/net/stack/packet/af_packet.c
@@ -603,4 +603,4 @@ int rt_eth_aton(unsigned char *addr_buf, const char *mac)
     return 0;
 }
 
-EXPORT_SYMBOL(rt_eth_aton);
+EXPORT_SYMBOL_GPL(rt_eth_aton);
diff --git a/kernel/drivers/net/stack/rtdev.c b/kernel/drivers/net/stack/rtdev.c
index 27b341a..bf3bc4b 100644
--- a/kernel/drivers/net/stack/rtdev.c
+++ b/kernel/drivers/net/stack/rtdev.c
@@ -727,26 +727,26 @@ unsigned int rt_hard_mtu(struct rtnet_device *rtdev, 
unsigned int priority)
 }
 
 
-EXPORT_SYMBOL(rt_alloc_etherdev);
-EXPORT_SYMBOL(rtdev_free);
+EXPORT_SYMBOL_GPL(rt_alloc_etherdev);
+EXPORT_SYMBOL_GPL(rtdev_free);
 
-EXPORT_SYMBOL(rtdev_alloc_name);
+EXPORT_SYMBOL_GPL(rtdev_alloc_name);
 
-EXPORT_SYMBOL(rt_register_rtnetdev);
-EXPORT_SYMBOL(rt_unregister_rtnetdev);
+EXPORT_SYMBOL_GPL(rt_register_rtnetdev);
+EXPORT_SYMBOL_GPL(rt_unregister_rtnetdev);
 
-EXPORT_SYMBOL(rtdev_add_event_hook);
-EXPORT_SYMBOL(rtdev_del_event_hook);
+EXPORT_SYMBOL_GPL(rtdev_add_event_hook);
+EXPORT_SYMBOL_GPL(rtdev_del_event_hook);
 
-EXPORT_SYMBOL(rtdev_get_by_name);
-EXPORT_SYMBOL(rtdev_get_by_index);
-EXPORT_SYMBOL(rtdev_get_by_hwaddr);
-EXPORT_SYMBOL(rtdev_get_loopback);
+EXPORT_SYMBOL_GPL(rtdev_get_by_name);
+EXPORT_SYMBOL_GPL(rtdev_get_by_index);
+EXPORT_SYMBOL_GPL(rtdev_get_by_hwaddr);
+EXPORT_SYMBOL_GPL(rtdev_get_loopback);
 
-EXPORT_SYMBOL(rtdev_xmit);
+EXPORT_SYMBOL_GPL(rtdev_xmit);
 
 #ifdef CONFIG_XENO_DRIVERS_NET_ADDON_PROXY
-EXPORT_SYMBOL(rtdev_xmit_proxy);
+EXPORT_SYMBOL_GPL(rtdev_xmit_proxy);
 #endif
 
-EXPORT_SYMBOL(rt_hard_mtu);
+EXPORT_SYMBOL_GPL(rt_hard_mtu);
diff --git a/kernel/drivers/net/stack/rtdev_mgr.c 
b/kernel/drivers/net/stack/rtdev_mgr.c
index b68aa09..c3a1259 100644
--- a/kernel/drivers/net/stack/rtdev_mgr.c
+++ b/kernel/drivers/net/stack/rtdev_mgr.c
@@ -121,8 +121,8 @@ void rt_rtdev_mgr_delete (struct rtnet_mgr *mgr)
 }
 
 
-EXPORT_SYMBOL(rtnetif_err_rx);
-EXPORT_SYMBOL(rtnetif_err_tx);
+EXPORT_SYMBOL_GPL(rtnetif_err_rx);
+EXPORT_SYMBOL_GPL(rtnetif_err_tx);
 
-EXPORT_SYMBOL(rt_rtdev_connect);
-EXPORT_SYMBOL(rt_rtdev_disconnect);
+EXPORT_SYMBOL_GPL(rt_rtdev_connect);
+EXPORT_SYMBOL_GPL(rt_rtdev_disconnect);
diff --git a/kernel/drivers/net/stack/rtmac/rtmac_syms.c 
b/kernel/drivers/net/stack/rtmac/rtmac_syms.c
index b89412f..2e2bda7 100644
--- a/kernel/drivers/net/stack/rtmac/rtmac_syms.c
+++ b/kernel/drivers/net/stack/rtmac/rtmac_syms.c
@@ -26,12 +26,12 @@
 #include <rtmac/rtmac_vnic.h>
 
 
-EXPORT_SYMBOL(__rtmac_disc_register);
-EXPORT_SYMBOL(rtmac_disc_deregister);
+EXPORT_SYMBOL_GPL(__rtmac_disc_register);
+EXPORT_SYMBOL_GPL(rtmac_disc_deregister);
 
-EXPORT_SYMBOL(rtmac_disc_attach);
-EXPORT_SYMBOL(rtmac_disc_detach);
+EXPORT_SYMBOL_GPL(rtmac_disc_attach);
+EXPORT_SYMBOL_GPL(rtmac_disc_detach);
 
-EXPORT_SYMBOL(rtmac_vnic_set_max_mtu);
+EXPORT_SYMBOL_GPL(rtmac_vnic_set_max_mtu);
 
-EXPORT_SYMBOL(rtmac_vnic_xmit);
+EXPORT_SYMBOL_GPL(rtmac_vnic_xmit);
diff --git a/kernel/drivers/net/stack/rtnet_chrdev.c 
b/kernel/drivers/net/stack/rtnet_chrdev.c
index 634b526..ee71976 100644
--- a/kernel/drivers/net/stack/rtnet_chrdev.c
+++ b/kernel/drivers/net/stack/rtnet_chrdev.c
@@ -342,5 +342,5 @@ void rtnet_chrdev_release(void)
 }
 
 
-EXPORT_SYMBOL(rtnet_register_ioctls);
-EXPORT_SYMBOL(rtnet_unregister_ioctls);
+EXPORT_SYMBOL_GPL(rtnet_register_ioctls);
+EXPORT_SYMBOL_GPL(rtnet_unregister_ioctls);
diff --git a/kernel/drivers/net/stack/rtnet_module.c 
b/kernel/drivers/net/stack/rtnet_module.c
index 1e3f0c4..1466ab8 100644
--- a/kernel/drivers/net/stack/rtnet_module.c
+++ b/kernel/drivers/net/stack/rtnet_module.c
@@ -42,13 +42,13 @@ MODULE_DESCRIPTION("RTnet stack core");
 struct rtnet_mgr STACK_manager;
 struct rtnet_mgr RTDEV_manager;
 
-EXPORT_SYMBOL(STACK_manager);
-EXPORT_SYMBOL(RTDEV_manager);
+EXPORT_SYMBOL_GPL(STACK_manager);
+EXPORT_SYMBOL_GPL(RTDEV_manager);
 
 const char rtnet_rtdm_provider_name[] =
     "(C) 1999-2008 RTnet Development Team, http://www.rtnet.org";;
 
-EXPORT_SYMBOL(rtnet_rtdm_provider_name);
+EXPORT_SYMBOL_GPL(rtnet_rtdm_provider_name);
 
 
 #ifdef CONFIG_PROC_FS
@@ -57,7 +57,7 @@ EXPORT_SYMBOL(rtnet_rtdm_provider_name);
  */
 struct proc_dir_entry *rtnet_proc_root;
 
-EXPORT_SYMBOL(rtnet_proc_root);
+EXPORT_SYMBOL_GPL(rtnet_proc_root);
 
 
 static int rtnet_read_proc_devices(char *buf, char **start, off_t offset,
diff --git a/kernel/drivers/net/stack/rtnet_rtpc.c 
b/kernel/drivers/net/stack/rtnet_rtpc.c
index 7a24e5c..4ef4408 100644
--- a/kernel/drivers/net/stack/rtnet_rtpc.c
+++ b/kernel/drivers/net/stack/rtnet_rtpc.c
@@ -277,6 +277,6 @@ void rtpc_cleanup(void)
 }
 
 
-EXPORT_SYMBOL(rtnet_rtpc_dispatch_call);
-EXPORT_SYMBOL(rtnet_rtpc_complete_call);
-EXPORT_SYMBOL(rtnet_rtpc_complete_call_nrt);
+EXPORT_SYMBOL_GPL(rtnet_rtpc_dispatch_call);
+EXPORT_SYMBOL_GPL(rtnet_rtpc_complete_call);
+EXPORT_SYMBOL_GPL(rtnet_rtpc_complete_call_nrt);
diff --git a/kernel/drivers/net/stack/rtskb.c b/kernel/drivers/net/stack/rtskb.c
index 11043f8..cc1a3e4 100644
--- a/kernel/drivers/net/stack/rtskb.c
+++ b/kernel/drivers/net/stack/rtskb.c
@@ -40,7 +40,7 @@ static struct kmem_cache *rtskb_slab_pool;
 
 /* pool of rtskbs for global use */
 struct rtskb_pool global_pool;
-EXPORT_SYMBOL(global_pool);
+EXPORT_SYMBOL_GPL(global_pool);
 
 /* pool statistics */
 unsigned int rtskb_pools=0;
@@ -51,10 +51,10 @@ unsigned int rtskb_amount_max=0;
 #ifdef CONFIG_XENO_DRIVERS_NET_ADDON_RTCAP
 /* RTcap interface */
 rtdm_lock_t rtcap_lock;
-EXPORT_SYMBOL(rtcap_lock);
+EXPORT_SYMBOL_GPL(rtcap_lock);
 
 void (*rtcap_handler)(struct rtskb *skb) = NULL;
-EXPORT_SYMBOL(rtcap_handler);
+EXPORT_SYMBOL_GPL(rtcap_handler);
 #endif
 
 
@@ -81,7 +81,7 @@ unsigned int rtskb_copy_and_csum_bits(const struct rtskb 
*skb, int offset,
     return csum;
 }
 
-EXPORT_SYMBOL(rtskb_copy_and_csum_bits);
+EXPORT_SYMBOL_GPL(rtskb_copy_and_csum_bits);
 
 
 /***
@@ -113,7 +113,7 @@ void rtskb_copy_and_csum_dev(const struct rtskb *skb, u8 
*to)
     }
 }
 
-EXPORT_SYMBOL(rtskb_copy_and_csum_dev);
+EXPORT_SYMBOL_GPL(rtskb_copy_and_csum_dev);
 
 
 #ifdef CONFIG_XENO_DRIVERS_NET_CHECKED
@@ -131,7 +131,7 @@ void rtskb_over_panic(struct rtskb *skb, int sz, void *here)
                 skb->len, sz, (skb->rtdev) ? skb->rtdev->name : "<NULL>");
 }
 
-EXPORT_SYMBOL(rtskb_over_panic);
+EXPORT_SYMBOL_GPL(rtskb_over_panic);
 
 
 /**
@@ -148,7 +148,7 @@ void rtskb_under_panic(struct rtskb *skb, int sz, void 
*here)
                 skb->len, sz, (skb->rtdev) ? skb->rtdev->name : "<NULL>");
 }
 
-EXPORT_SYMBOL(rtskb_under_panic);
+EXPORT_SYMBOL_GPL(rtskb_under_panic);
 #endif /* CONFIG_XENO_DRIVERS_NET_CHECKED */
 
 static struct rtskb *__rtskb_pool_dequeue(struct rtskb_pool *pool)
@@ -235,7 +235,7 @@ struct rtskb *alloc_rtskb(unsigned int size, struct 
rtskb_pool *pool)
     return skb;
 }
 
-EXPORT_SYMBOL(alloc_rtskb);
+EXPORT_SYMBOL_GPL(alloc_rtskb);
 
 
 /***
@@ -292,7 +292,7 @@ void kfree_rtskb(struct rtskb *skb)
 #endif /* CONFIG_XENO_DRIVERS_NET_ADDON_RTCAP */
 }
 
-EXPORT_SYMBOL(kfree_rtskb);
+EXPORT_SYMBOL_GPL(kfree_rtskb);
 
 
 /***
@@ -323,7 +323,7 @@ unsigned int rtskb_pool_init(struct rtskb_pool *pool,
     return i;
 }
 
-EXPORT_SYMBOL(rtskb_pool_init);
+EXPORT_SYMBOL_GPL(rtskb_pool_init);
 
 static int rtskb_module_pool_trylock(void *cookie)
 {
@@ -346,7 +346,7 @@ unsigned int __rtskb_module_pool_init(struct rtskb_pool 
*pool,
 {
     return rtskb_pool_init(pool, initial_size, &rtskb_module_lock_ops, module);
 }
-EXPORT_SYMBOL(__rtskb_module_pool_init);
+EXPORT_SYMBOL_GPL(__rtskb_module_pool_init);
 
 
 /***
@@ -370,7 +370,7 @@ int rtskb_pool_release(struct rtskb_pool *pool)
     return 0;
 }
 
-EXPORT_SYMBOL(rtskb_pool_release);
+EXPORT_SYMBOL_GPL(rtskb_pool_release);
 
 
 unsigned int rtskb_pool_extend(struct rtskb_pool *pool,
@@ -465,7 +465,7 @@ int rtskb_acquire(struct rtskb *rtskb, struct rtskb_pool 
*comp_pool)
     return 0;
 }
 
-EXPORT_SYMBOL(rtskb_acquire);
+EXPORT_SYMBOL_GPL(rtskb_acquire);
 
 
 /* clone rtskb to another, allocating the new rtskb from pool */
diff --git a/kernel/drivers/net/stack/rtwlan.c 
b/kernel/drivers/net/stack/rtwlan.c
index fa2d827..20b1f3c 100644
--- a/kernel/drivers/net/stack/rtwlan.c
+++ b/kernel/drivers/net/stack/rtwlan.c
@@ -40,7 +40,7 @@ int rtwlan_rx(struct rtskb * rtskb, struct rtnet_device * 
rtnet_dev)
     return 0;
 }
 
-EXPORT_SYMBOL(rtwlan_rx);
+EXPORT_SYMBOL_GPL(rtwlan_rx);
 
 
 int rtwlan_tx(struct rtskb *rtskb, struct rtnet_device *rtnet_dev)
@@ -81,7 +81,7 @@ int rtwlan_tx(struct rtskb *rtskb, struct rtnet_device 
*rtnet_dev)
     return ret;
 }
 
-EXPORT_SYMBOL(rtwlan_tx);
+EXPORT_SYMBOL_GPL(rtwlan_tx);
 
 
 /**
@@ -112,7 +112,7 @@ struct rtnet_device * rtwlan_alloc_dev(int sizeof_priv)
     return rtnet_dev;
 }
 
-EXPORT_SYMBOL(rtwlan_alloc_dev);
+EXPORT_SYMBOL_GPL(rtwlan_alloc_dev);
 
 
 int rtwlan_ioctl(struct rtnet_device * rtdev,
diff --git a/kernel/drivers/net/stack/socket.c 
b/kernel/drivers/net/stack/socket.c
index e1ba07a..085e5ec 100644
--- a/kernel/drivers/net/stack/socket.c
+++ b/kernel/drivers/net/stack/socket.c
@@ -326,8 +326,8 @@ int rt_socket_select_bind(struct rtdm_fd *fd,
     return -EINVAL;
 }
 
-EXPORT_SYMBOL(rt_socket_select_bind);
-EXPORT_SYMBOL(rt_socket_init);
-EXPORT_SYMBOL(rt_socket_cleanup);
-EXPORT_SYMBOL(rt_socket_common_ioctl);
-EXPORT_SYMBOL(rt_socket_if_ioctl);
+EXPORT_SYMBOL_GPL(rt_socket_select_bind);
+EXPORT_SYMBOL_GPL(rt_socket_init);
+EXPORT_SYMBOL_GPL(rt_socket_cleanup);
+EXPORT_SYMBOL_GPL(rt_socket_common_ioctl);
+EXPORT_SYMBOL_GPL(rt_socket_if_ioctl);
diff --git a/kernel/drivers/net/stack/stack_mgr.c 
b/kernel/drivers/net/stack/stack_mgr.c
index 820d9d3..5c26aab 100644
--- a/kernel/drivers/net/stack/stack_mgr.c
+++ b/kernel/drivers/net/stack/stack_mgr.c
@@ -80,7 +80,7 @@ int rtdev_add_pack(struct rtpacket_type *pt)
     return ret;
 }
 
-EXPORT_SYMBOL(rtdev_add_pack);
+EXPORT_SYMBOL_GPL(rtdev_add_pack);
 
 
 /***
@@ -107,7 +107,7 @@ int rtdev_remove_pack(struct rtpacket_type *pt)
     return ret;
 }
 
-EXPORT_SYMBOL(rtdev_remove_pack);
+EXPORT_SYMBOL_GPL(rtdev_remove_pack);
 
 
 /***
@@ -134,7 +134,7 @@ void rtnetif_rx(struct rtskb *skb)
     }
 }
 
-EXPORT_SYMBOL(rtnetif_rx);
+EXPORT_SYMBOL_GPL(rtnetif_rx);
 
 
 #if IS_ENABLED(CONFIG_XENO_DRIVERS_NET_DRV_LOOPBACK)
@@ -234,7 +234,7 @@ void rt_stack_connect (struct rtnet_device *rtdev, struct 
rtnet_mgr *mgr)
     rtdev->stack_event = &mgr->event;
 }
 
-EXPORT_SYMBOL(rt_stack_connect);
+EXPORT_SYMBOL_GPL(rt_stack_connect);
 
 
 /***
@@ -245,7 +245,7 @@ void rt_stack_disconnect (struct rtnet_device *rtdev)
     rtdev->stack_event = NULL;
 }
 
-EXPORT_SYMBOL(rt_stack_disconnect);
+EXPORT_SYMBOL_GPL(rt_stack_disconnect);
 
 
 /***


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to