openvswitch: Export symbols as GPL symbols.

vport can be compiled as modules, therefore openvswitch needs
to export few symbols. Export them as GPL symbols.

CC: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
Pravin B Shelar 2014-11-06 06:44:27 -08:00
parent c0560b9c52
commit 9ba559d9ca
2 changed files with 8 additions and 8 deletions

View file

@ -59,7 +59,7 @@
#include "vport-netdev.h"
int ovs_net_id __read_mostly;
EXPORT_SYMBOL(ovs_net_id);
EXPORT_SYMBOL_GPL(ovs_net_id);
static struct genl_family dp_packet_genl_family;
static struct genl_family dp_flow_genl_family;
@ -131,7 +131,7 @@ int lockdep_ovsl_is_held(void)
else
return 1;
}
EXPORT_SYMBOL(lockdep_ovsl_is_held);
EXPORT_SYMBOL_GPL(lockdep_ovsl_is_held);
#endif
static struct vport *new_vport(const struct vport_parms *);